dircolors are linux specific now
This commit is contained in:
parent
99175f2dad
commit
173eb781e8
2 changed files with 13 additions and 3 deletions
13
linux.zsh
Normal file
13
linux.zsh
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
# activate ls colors, (private if possible)
|
||||
if [[ -a $HOME/.dir_colors ]]; then
|
||||
if [[ "$TERM" == *256* ]]; then
|
||||
which dircolors > /dev/null && eval "`dircolors -b $HOME/.dir_colors`"
|
||||
else
|
||||
# standard colors for non-256-color terms
|
||||
which dircolors > /dev/null && eval "`dircolors -b`"
|
||||
fi
|
||||
else
|
||||
which dircolors > /dev/null && eval "`dircolors -b`"
|
||||
fi
|
||||
|
|
@ -7,9 +7,6 @@
|
|||
export GREP_OPTIONS='-D skip --binary-files=without-match --ignore-case'
|
||||
|
||||
# keybindings Strg+v is your friend :-)
|
||||
# Not supported on e.g. OSX, so we test for command first
|
||||
which dircolors > /dev/null && eval "`dircolors -b`"
|
||||
|
||||
bindkey "^[[1;5D" .backward-word
|
||||
bindkey "^[[1;5C" .forward-word
|
||||
bindkey "^[[1;6D" backward-delete-word
|
||||
|
|
Loading…
Reference in a new issue