From 57cea113277d37a41af7381acea7f2291701134e Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Fri, 22 Nov 2024 03:27:48 +0100 Subject: [PATCH] fix(formatting): Using alejandra --- packages.nix | 5 +---- zsh.nix | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/packages.nix b/packages.nix index de75f2e..a5f2f1a 100644 --- a/packages.nix +++ b/packages.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: { +{pkgs, ...}: { home.packages = with pkgs; [ # asciinema asciinema # Terminal recording diff --git a/zsh.nix b/zsh.nix index 8bfa425..c39175f 100644 --- a/zsh.nix +++ b/zsh.nix @@ -43,7 +43,7 @@ "getantidote/use-omz" # Handle OMZ dependencies # Load lib only if things break # "ohmyzsh/ohmyzsh path:lib" # Load OMZ's library - "ohmyzsh/ohmyzsh path:plugins/colored-man-pages" # Load OMZ plugins + "ohmyzsh/ohmyzsh path:plugins/colored-man-pages" # Load OMZ plugins # "ohmyzsh/ohmyzsh path:plugins/magic-enter" "ohmyzsh/ohmyzsh path:plugins/command-not-found" # Provide suggested packages to be installed if a command cannot be found "ohmyzsh/ohmyzsh path:plugins/dirhistory kind:defer" # shortcuts for navigating directory history and hierarchy @@ -68,7 +68,7 @@ "belak/zsh-utils path:utility kind:defer" # Common shell utilities "gko/ssh-connect" # List of most used ssh connections - "sineto/web-search kind:defer" # zsh plugin for web searching + "sineto/web-search kind:defer" # zsh plugin for web searching "zsh-users/zaw" # Desctiptions for command outputs (afaik)zplug "plugins/git", from:oh-my-zsh ]; }; @@ -145,8 +145,8 @@ ''; localVariables = { - YSU_MESSAGE_POSITION="after"; - ASCIINEMA_API_URL="https://asciinema.stefka.eu"; + YSU_MESSAGE_POSITION = "after"; + ASCIINEMA_API_URL = "https://asciinema.stefka.eu"; }; shellAliases = { @@ -192,16 +192,16 @@ }; shellGlobalAliases = { - H="| head"; - T="| tail"; - G="| grep"; - L="| less"; - M="| most"; - LL="2>&1 | less"; - CA="2>&1 | cat -A"; - NE="2> /dev/null"; - NUL="> /dev/null 2>&1"; - P="2>&1| pygmentize -l pytb"; + H = "| head"; + T = "| tail"; + G = "| grep"; + L = "| less"; + M = "| most"; + LL = "2>&1 | less"; + CA = "2>&1 | cat -A"; + NE = "2> /dev/null"; + NUL = "> /dev/null 2>&1"; + P = "2>&1| pygmentize -l pytb"; }; history = {