diff options
author | jeschli <jeschli@gmail.com> | 2018-02-18 10:48:18 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-02-18 10:48:18 +0100 |
commit | 52b846c98b21f19c2a138361191439c487fc87cc (patch) | |
tree | c5182446981dd14df8da4060148980af9e27f08a /lass/2configs/zsh.nix | |
parent | 94c59247d13622b0293be54cdb5893526434f5d1 (diff) | |
parent | 13e289a69d1c901e6f1a044ce8973433e9e43880 (diff) |
Merge branch 'master' of prism.r:stockholm into staging/jeschli
Diffstat (limited to 'lass/2configs/zsh.nix')
-rw-r--r-- | lass/2configs/zsh.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix index add30fbf1..aa3e6731d 100644 --- a/lass/2configs/zsh.nix +++ b/lass/2configs/zsh.nix @@ -50,16 +50,15 @@ #enable automatic rehashing of $PATH zstyle ':completion:*' rehash true + #beautiful colors eval $(dircolors -b ${pkgs.fetchFromGitHub { owner = "trapd00r"; repo = "LS_COLORS"; rev = "master"; sha256="05lh5w3bgj9h8d8lrbbwbzw8788709cnzzkl8yh7m1dawkpf6nlp"; }}/LS_COLORS) - - #beautiful colors alias ls='ls --color' - # zstyle ':completion:*:default' list-colors ''${(s.:.)LS_COLORS} + zstyle ':completion:*:default' list-colors ''${(s.:.)LS_COLORS} #emacs bindings bindkey "[7~" beginning-of-line @@ -109,7 +108,7 @@ fi #check if in nix shell - if test -n "$buildInputs"; then + if test -n "$IN_NIX_SHELL"; then p_nixshell='%F{green}[s]%f ' t_nixshell='[s] ' else |