Use original zshrc

This commit is contained in:
2021-09-09 22:34:37 +01:00
parent a49f6b2573
commit 7e3de83c68
5 changed files with 83 additions and 6 deletions

View File

@@ -25,6 +25,10 @@ setopt hist_ignore_space # Allow using a space to not add the line to the histor
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"
# Load nvm if it is installed
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Basic auto/tab complete:
autoload -U compinit
zstyle ':completion:*' menu select