summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-22 23:19:30 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-22 23:19:30 +0200
commit5ca828e30e20400bcd2eed255e8e8d13cb4ddd8c (patch)
treec4433b318e6bb811cc2dd9ed74504cdde32d35b2
parent970f2940760f2fdcc919a4d178d6da674a9bf478 (diff)
zsh/completion: Neither sed nor dircolors work properly on BSD
-rw-r--r--etc/completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion
index a31d682..9a1f84f 100644
--- a/etc/completion
+++ b/etc/completion
@@ -1,6 +1,6 @@
## vim:ft=zsh
-zstyle ':completion:*' list-colors $(dircolors $HOME/packages/zsh/etc/dircolors | head -n 1 | sed -r 's/LS_COLORS=|;$//g')
+[ $uname = Linux ] && zstyle ':completion:*' list-colors $(dircolors $HOME/packages/zsh/etc/dircolors | head -n 1 | sed -r 's/LS_COLORS=|;$//g')
# Mark the current selection when tabbing through possible completions
zstyle ':completion:*' menu select=1
# Also complete uppercase names with lowercase