From a9504e52a3eb2170b669bb8e9fcc89b54a1ed566 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 10 May 2011 13:35:57 +0200 Subject: 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 --- zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 9ea4627..89b451e 100644 --- a/zshrc +++ b/zshrc @@ -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 -- cgit v1.2.3-54-g00ecf