summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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