From ce9a184552ebab65f3d72f9b4e96e585707831a2 Mon Sep 17 00:00:00 2001 From: Elijah Lazkani Date: Sat, 14 Jan 2017 14:25:36 -0500 Subject: [PATCH] Making the zshell configuration OS specific. --- salty/base/zsh/files/zshconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/salty/base/zsh/files/zshconfig b/salty/base/zsh/files/zshconfig index 75ddd78..0beab8c 100644 --- a/salty/base/zsh/files/zshconfig +++ b/salty/base/zsh/files/zshconfig @@ -51,7 +51,11 @@ HIST_STAMPS="yyyy-mm-dd" # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(gitignore osx brew python knife kitchen aws zsh_reload) +{% if grains['kernel'] == 'Darwin' -%} +plugins=(gitignore osx brew python zsh_reload) +{% elif grains['kernel'] == 'Linux' %} +plugins=(gitignore python zsh_reload) +{%- endif %} source $ZSH/oh-my-zsh.sh