Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 65b1be3844a5bc6dd42648807c3b6cde874c0a13 1 parent 53eb278
Gregg Gajic authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 .zshrc
8 .zshrc
@@ -51,9 +51,9 @@ export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
51 51 export PATH="$HOME/bin:$PATH"
52 52
53 53 # Unbreak broken, non-colored terminal
54   -alias l='ls -AFh --color=auto'
55   -alias ll='ls -Alh --color=auto'
56   -alias ls='ls -Fh --color=auto'
  54 +alias l='ls -AFh --color=always'
  55 +alias ll='ls -Alh --color=always'
  56 +alias ls='ls -Fh --color=always'
57 57 alias ..='cd ..'
58 58 alias ...='cd ../..'
59 59 alias ....='cd ../../..'
@@ -62,7 +62,7 @@ alias ......='cd ../../../../..'
62 62 alias .......='cd ../../../../../..'
63 63 alias ........='cd ../../../../../../..'
64 64 alias duh='du -csh'
65   -export GREP_OPTIONS="--color"
  65 +export GREP_OPTIONS="--color=always"
66 66
67 67 # Directory colors
68 68 eval `dircolors ~/.dir_colors`

0 comments on commit 65b1be3

Please sign in to comment.
Something went wrong with that request. Please try again.