ZSH: Add a little color

I discovered that `less -SXRF` will show colors, but that ls, grep and
cower all detect less to be a color-less terminal anyway, so I've
added the color=always
This commit is contained in:
Tom Willemsen 2011-05-10 13:35:57 +02:00
parent 051e3a7c54
commit a9504e52a3

7
zshrc
View file

@ -57,10 +57,11 @@ RPROMPT='$(prompt_git_info)%{${fg[default]}%}'
# Aliases
alias alpine="alpine -p ""{imap.gmail.com/ssl/user=tom.willemsen@archlinux.us}remote_pinerc"""
alias evolus-pencil="/usr/lib/evolus-pencil-svn/evolus-pencil.sh"
alias grep="grep --color=auto"
alias ls="ls -F --color=auto"
alias grep="grep --color=always"
alias ls="ls -F --color=always"
alias slrn="NNTPSERVER='news.eternal-september.org' slrn"
alias cower="cower --color=auto --target=$HOME/var/aur"
alias cower="cower --color=always --target=$HOME/var/aur"
alias less="less -FXRS"
# Set terminal name to current runnign application
case $TERM in