diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-22 23:14:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-22 23:14:04 +0200 |
commit | 970f2940760f2fdcc919a4d178d6da674a9bf478 (patch) | |
tree | 1c691d6b7025e70efc584ae4d1b0014748a8b4c4 /etc/alias | |
parent | 7839e6202390f552d013c76fa43fc6de19679c7d (diff) |
etc/alias/default: only alias grep on linux
Diffstat (limited to 'etc/alias')
-rw-r--r-- | etc/alias/default | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/alias/default b/etc/alias/default index 3b66907..a0a0380 100644 --- a/etc/alias/default +++ b/etc/alias/default @@ -9,12 +9,12 @@ alias feh='feh --quiet' -alias fgrep='grep -F --color=auto' +[ $uname = Linux ] && alias fgrep='grep -F --color=auto' # find does globbing itself alias find='noglob find' -alias grep='grep --color=auto' +[ $uname = Linux ] && alias grep='grep --color=auto' alias host='host -a' |