zshrc/linux.zsh

21 lines
563 B
Bash
Raw Normal View History

2011-04-11 22:47:38 +02:00
# 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
2011-04-12 19:45:36 +02:00
# linux specific aliases
## autocomplete-able apt-xxx aliases
alias acs='apt-cache show'
alias agi='apt-get install'
alias agu='apt-get uninstall'
alias agp='apt-get purge'