fix(formatting): Using alejandra

This commit is contained in:
Jiří Štefka 2024-11-22 03:27:48 +01:00
parent c5d5961800
commit c232e421e5
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE
2 changed files with 15 additions and 18 deletions

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
# asciinema # asciinema
asciinema # Terminal recording asciinema # Terminal recording

28
zsh.nix

@ -43,7 +43,7 @@
"getantidote/use-omz" # Handle OMZ dependencies "getantidote/use-omz" # Handle OMZ dependencies
# Load lib only if things break # Load lib only if things break
# "ohmyzsh/ohmyzsh path:lib" # Load OMZ's library # "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/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/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 "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 "belak/zsh-utils path:utility kind:defer" # Common shell utilities
"gko/ssh-connect" # List of most used ssh connections "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 "zsh-users/zaw" # Desctiptions for command outputs (afaik)zplug "plugins/git", from:oh-my-zsh
]; ];
}; };
@ -146,8 +146,8 @@
''; '';
localVariables = { localVariables = {
YSU_MESSAGE_POSITION="after"; YSU_MESSAGE_POSITION = "after";
ASCIINEMA_API_URL="https://asciinema.stefka.eu"; ASCIINEMA_API_URL = "https://asciinema.stefka.eu";
}; };
shellAliases = { shellAliases = {
@ -193,16 +193,16 @@
}; };
shellGlobalAliases = { shellGlobalAliases = {
H="| head"; H = "| head";
T="| tail"; T = "| tail";
G="| grep"; G = "| grep";
L="| less"; L = "| less";
M="| most"; M = "| most";
LL="2>&1 | less"; LL = "2>&1 | less";
CA="2>&1 | cat -A"; CA = "2>&1 | cat -A";
NE="2> /dev/null"; NE = "2> /dev/null";
NUL="> /dev/null 2>&1"; NUL = "> /dev/null 2>&1";
P="2>&1| pygmentize -l pytb"; P = "2>&1| pygmentize -l pytb";
}; };
history = { history = {