Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 65b1be3844a5bc6dd42648807c3b6cde874c0a13 1 parent 53eb278
@gg authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 .zshrc
View
8 .zshrc
@@ -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`
Please sign in to comment.
Something went wrong with that request. Please try again.