diff options
author | nin <nin@c-base.org> | 2018-02-27 22:30:49 +0100 |
---|---|---|
committer | nin <nin@c-base.org> | 2018-02-27 22:30:49 +0100 |
commit | 01289f333143fa145fe585812d05672efd3f3ebe (patch) | |
tree | d6de52e9914cd6489cbad61ae7c6fb60ad472c41 /lass/2configs/zsh.nix | |
parent | f20bf1a7ba146b3ffe3f2e470614d12885cbce61 (diff) | |
parent | 9e67031cb878c0bcdcde39a7b7b746111de6719a (diff) |
Merge remote-tracking branch 'prism/master'
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 |