Cleanup; add zoxide
This commit is contained in:
parent
992c15e7d6
commit
d0b52f1d4e
24
zshrc
24
zshrc
@ -23,15 +23,29 @@ else
|
||||
source /usr/share/zsh/manjaro-zsh-prompt
|
||||
fi
|
||||
|
||||
[[ -s ~/.p10k.zsh ]] && source ~/.p10k.zsh
|
||||
if [[ -s ~/.p10k.zsh ]]; then
|
||||
source ~/.p10k.zsh
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "$(command -v zoxide)" ]]; then
|
||||
eval "$(zoxide init zsh)"
|
||||
fi
|
||||
|
||||
# Custom aliases
|
||||
[[ -s ~/.aliases ]] && source ~/.aliases
|
||||
if [[ -s ~/.aliases ]]; then
|
||||
source ~/.aliases;
|
||||
fi
|
||||
|
||||
# NVM
|
||||
[[ -s "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[[ -s "$NVM_DIR/bash_completion" ]] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
if [[ -s "$NVM_DIR/nvm.sh" ]]; then
|
||||
source "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
fi
|
||||
if [[ -s "$NVM_DIR/bash_completion" ]]; then
|
||||
source "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
fi
|
||||
|
||||
# Source machine-specific setup
|
||||
[[ -s ~/.zshrc.local ]] && source ~/.zshrc.local
|
||||
if [[ -s ~/.zshrc.local ]]; then
|
||||
source ~/.zshrc.local;
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user