summaryrefslogtreecommitdiffstats
path: root/lass/2configs/zsh.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-01 18:49:34 +0200
committermakefu <github@syntax-fehler.de>2015-10-01 18:49:34 +0200
commit49c00cf74f778152f4aed943dedb7bbf283b16e7 (patch)
tree29946a2fedb005b68a417acf3ac04d6f858f8aa1 /lass/2configs/zsh.nix
parent73aa31010415ac5f7bf86d2bb77099fc3097905a (diff)
parent4af4fa89e50c3769d9331608cec2e6752ceb4fcb (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'lass/2configs/zsh.nix')
-rw-r--r--lass/2configs/zsh.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix
index 646e816fd..64aa45823 100644
--- a/lass/2configs/zsh.nix
+++ b/lass/2configs/zsh.nix
@@ -57,7 +57,7 @@
#exports
export EDITOR='vim'
export MANPAGER='most'
- export PAGER='vim -'
+ export PAGER='vim -R -'
# export MANPAGER='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | vim -R -c "set ft=man nonu nomod nolist" -'
#beautiful colors
@@ -103,23 +103,21 @@
case $UID in
0)
- username='%F{red}root%f'
+ username='%F{red}root%f '
;;
1337)
username=""
;;
*)
- username='%F{blue}%n%f'
+ username='%F{blue}%n%f '
;;
esac
if test -n "$SSH_CLIENT"; then
PROMPT="$error$username@%F{magenta}%M%f %~ "
else
- PROMPT="$error$username %~ "
+ PROMPT="$error$username%~ "
fi
-
-
'';
};
users.defaultUserShell = "/run/current-system/sw/bin/zsh";