From 5ca828e30e20400bcd2eed255e8e8d13cb4ddd8c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 22 May 2008 23:19:30 +0200 Subject: zsh/completion: Neither sed nor dircolors work properly on BSD --- etc/completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3