diff options
-rw-r--r-- | custom/zsh.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/custom/zsh.nix b/custom/zsh.nix index 05f43410..1c388bea 100644 --- a/custom/zsh.nix +++ b/custom/zsh.nix | |||
@@ -9,6 +9,7 @@ in rec { | |||
9 | l = "ls -lhAF"; | 9 | l = "ls -lhAF"; |
10 | ll = "l --color=always L"; | 10 | ll = "l --color=always L"; |
11 | ".." = "cd .."; | 11 | ".." = "cd .."; |
12 | "nix-shell" = "nix-shell --command $(getent passwd $LOGNAME | cut -d: -f7)"; | ||
12 | }; | 13 | }; |
13 | programs.zsh.interactiveShellInit = '' | 14 | programs.zsh.interactiveShellInit = '' |
14 | setopt clobber | 15 | setopt clobber |
@@ -27,13 +28,16 @@ in rec { | |||
27 | 28 | ||
28 | antigen use oh-my-zsh | 29 | antigen use oh-my-zsh |
29 | antigen bundles <<EOBUNDLES | 30 | antigen bundles <<EOBUNDLES |
30 | git | ||
31 | tmux | 31 | tmux |
32 | zsh-users/zsh-syntax-highlighting | 32 | zsh-users/zsh-syntax-highlighting |
33 | systemd | 33 | systemd |
34 | EOBUNDLES | 34 | EOBUNDLES |
35 | 35 | ||
36 | antigen theme jreese | 36 | if [[ -e ~/.zsh-theme ]]; then |
37 | antigen theme ~ | ||
38 | else | ||
39 | antigen theme jreese | ||
40 | fi | ||
37 | 41 | ||
38 | antigen apply | 42 | antigen apply |
39 | ''; | 43 | ''; |