Add ls dircolors
This commit is contained in:
parent
10c9819273
commit
1bf2538276
2 changed files with 12 additions and 0 deletions
8
configure
vendored
8
configure
vendored
|
@ -62,6 +62,14 @@ case $1 in
|
||||||
stow -v zsh
|
stow -v zsh
|
||||||
echo "You can add your local config in ~/.zsh-local-$HOST"
|
echo "You can add your local config in ~/.zsh-local-$HOST"
|
||||||
;;
|
;;
|
||||||
|
"dircolors" )
|
||||||
|
echo "Installing dircolors config"
|
||||||
|
git clone https://github.com/huyz/dircolors-solarized ~/.dircolors
|
||||||
|
ln -s ~/.dircolors/dircolors.ansi-dark ~/.dir_colors
|
||||||
|
echo "Default dircolors theme is dark ansi"
|
||||||
|
echo "Please check that your terminal emulator is listed at the begining"
|
||||||
|
echo "of the file like so: TERM xterm-termite (for termite)"
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
echo "$1 cannot be installed…"
|
echo "$1 cannot be installed…"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -31,3 +31,7 @@ if [ -f "$HOME/.zsh-local-$HOST" ]; then
|
||||||
source $HOME/.zsh-local-$HOST
|
source $HOME/.zsh-local-$HOST
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Colors files (if file exists
|
||||||
|
if [ -f "$HOME/.dir_colors" ]; then
|
||||||
|
eval `dircolors ~/.dir_colors`
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue