Submoduled zsh plugins are OS independant
This commit is contained in:
parent
7e6665c7a6
commit
eadd69b0c6
5
.zshrc
5
.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user