summaryrefslogtreecommitdiff
path: root/custom/zsh.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-03 13:05:23 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-03 13:05:23 +0100
commit537b10fe95d27e9e687b755e1469752a7174c860 (patch)
treedc3e971ac6ca2855d7ab0c18a4fb627c63af6b41 /custom/zsh.nix
parent17c440b04ed63316ec765775852af8ac230fb3f6 (diff)
downloadnixos-537b10fe95d27e9e687b755e1469752a7174c860.tar
nixos-537b10fe95d27e9e687b755e1469752a7174c860.tar.gz
nixos-537b10fe95d27e9e687b755e1469752a7174c860.tar.bz2
nixos-537b10fe95d27e9e687b755e1469752a7174c860.tar.xz
nixos-537b10fe95d27e9e687b755e1469752a7174c860.zip
Custom zsh themes
Diffstat (limited to 'custom/zsh.nix')
-rw-r--r--custom/zsh.nix8
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 '';