new colors for "box", new aliases / options in zshrc

This commit is contained in:
Armin Jenewein 2015-03-26 11:22:30 +01:00
commit e9e8e2f93a

11
zshrc
View file

@ -151,6 +151,11 @@ if [[ "$OS_TYPE" == "FreeBSD" ]]; then
fi
fi
if [[ "$OS_TYPE" == "Linux" ]]; then
LS_COMMAND=ls
dircolors_enable=1
fi
# enable ls colorization:
if [ "$TERM" != "dumb" ]; then
if [[ "$dircolors_enable" == 1 ]]; then
@ -202,7 +207,9 @@ alias grep="grep --color='always'"
alias less='less -R'
alias diff='colordiff'
# sudo shell with "s"
alias s='sudo -s -E'
set modeline
# don't require "rehash" after installing a package
setopt nohashdirs