aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-09-20 09:48:54 +0100
committerRyan Kavanagh <rak@debian.org>2012-09-20 09:48:54 +0100
commita8f1861f964adbd4d90e1a6ebcddce5dcc51ebd9 (patch)
tree4ffe1eb47617ee38fa057540f50e8f892c65a469
parentUpdate redshift location (diff)
Fix grep on OpenBSD
Diffstat (limited to '')
-rw-r--r--.zshrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 484b7cf..84a2b70 100644
--- a/.zshrc
+++ b/.zshrc
@@ -134,7 +134,11 @@ if [[ `uname` = "Linux" ]]; then
alias chown="chown -v"
alias chmod="chmod -v"
+
+ alias grep="grep --colour=always" # Colour grep too.
fi
+alias ls="SUBSTS_LS --classify --color=always" # Add all colours and
+ # have fancy symbols for files, etc.
# Cause encfs unmount a mounted encrypted partition after twenty minutes of
# inactivity by default.
@@ -174,9 +178,6 @@ fi
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*:*:kill:*' list-colors '=%*=01;31'
-alias ls="SUBSTS_LS --classify --color=always" # Add all colours and
- # have fancy symbols for files, etc.
-alias grep="grep --colour=always" # Colour grep too.
# Load the completion system
autoload -U compinit; compinit