Making the zshell configuration OS specific.

This commit is contained in:
Elijah Lazkani 2017-01-14 14:25:36 -05:00
parent 3906f698e7
commit ce9a184552

View file

@ -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