diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-22 23:19:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-22 23:19:30 +0200 |
commit | 5ca828e30e20400bcd2eed255e8e8d13cb4ddd8c (patch) | |
tree | c4433b318e6bb811cc2dd9ed74504cdde32d35b2 /etc/completion | |
parent | 970f2940760f2fdcc919a4d178d6da674a9bf478 (diff) |
zsh/completion: Neither sed nor dircolors work properly on BSD
Diffstat (limited to 'etc/completion')
-rw-r--r-- | etc/completion | 2 |
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 |