fix(formatting): Using alejandra

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

View file

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

26
zsh.nix
View file

@ -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
@ -145,8 +145,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 = {
@ -192,16 +192,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 = {