Permalink
Browse files

use color=always, i.e. when piping to less

  • Loading branch information...
1 parent 53eb278 commit 65b1be3844a5bc6dd42648807c3b6cde874c0a13 @gg committed Aug 3, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 .zshrc
View
@@ -51,9 +51,9 @@ export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
export PATH="$HOME/bin:$PATH"
# Unbreak broken, non-colored terminal
-alias l='ls -AFh --color=auto'
-alias ll='ls -Alh --color=auto'
-alias ls='ls -Fh --color=auto'
+alias l='ls -AFh --color=always'
+alias ll='ls -Alh --color=always'
+alias ls='ls -Fh --color=always'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
@@ -62,7 +62,7 @@ alias ......='cd ../../../../..'
alias .......='cd ../../../../../..'
alias ........='cd ../../../../../../..'
alias duh='du -csh'
-export GREP_OPTIONS="--color"
+export GREP_OPTIONS="--color=always"
# Directory colors
eval `dircolors ~/.dir_colors`

0 comments on commit 65b1be3

Please sign in to comment.