diff --git a/.zshrc b/.zshrc index e8aebc0..5b730e7 100644 --- a/.zshrc +++ b/.zshrc @@ -13,7 +13,6 @@ if [[ $(uname) == "Darwin" ]]; then source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh - source ~/.config/zsh/plugins/zsh-git-prompt/zshrc.sh else export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin" @@ -21,10 +20,14 @@ else source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh fi +# Config export CONFIGDIR="${HOME}/.config" export XDG_CONFIG_HOME=$CONFIGDIR export EDITOR=nvim +# Plugins +source "$CONFIGDIR/zsh/plugins/zsh-git-prompt/zshrc.sh" + # Use NVIM alias vim=nvim