summaryrefslogtreecommitdiff
path: root/etc/alias/default
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-22 23:14:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-22 23:14:04 +0200
commit970f2940760f2fdcc919a4d178d6da674a9bf478 (patch)
tree1c691d6b7025e70efc584ae4d1b0014748a8b4c4 /etc/alias/default
parent7839e6202390f552d013c76fa43fc6de19679c7d (diff)
etc/alias/default: only alias grep on linux
Diffstat (limited to 'etc/alias/default')
-rw-r--r--etc/alias/default4
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'