Commit f44a7897 authored by Jørn Åne's avatar Jørn Åne

Fix ls colors on Linux

parent a01e116c
......@@ -8,6 +8,10 @@ fi
export LSCOLORS=ExgxfxdaCxDaDahbadacec
export LS_COLORS='di=1;34:ln=36:so=35:pi=33;40:ex=1;32:bd=1;33;40:cd=1;33;40:su=37;41:sg=30;43:tw=30;42:ow=34;42'
export CLICOLOR=1
case $(uname -s) in
Linux) alias ls='env ls -FG --color=tty' ;;
*) alias ls='env ls -F' ;;
esac
export PAGER=less
export EDITOR=vim
......
......@@ -3,6 +3,11 @@
export LSCOLORS=ExgxfxdaCxDaDahbadacec
export LS_COLORS='di=1;34:ln=36:so=35:pi=33;40:ex=1;32:bd=1;33;40:cd=1;33;40:su=37;41:sg=30;43:tw=30;42:ow=34;42'
export CLICOLOR=1
case $(uname -s) in
Linux) alias ls='env ls -FG --color=tty' ;;
*) alias ls='env ls -F' ;;
esac
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' menu select
autoload -Uz compinit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment