Executes zoxide if needed

This commit is contained in:
Alicia Sykes 2022-12-24 18:23:24 +00:00
parent c6025d0304
commit 15b893a279

View File

@ -60,6 +60,11 @@ if [ "$(uname -s)" = "Darwin" ] && [[ -d "${HOME}/Library/Android/" ]]; then
export NODE_BINARY="/usr/local/bin/node"
fi
# Add Zoxide (for cd, quick jump) to shell
if hash zoxide 2> /dev/null; then
eval "$(zoxide init zsh)"
fi
# If not running in nested shell, then show welcome message :)
if [[ "${SHLVL}" -lt 2 ]] && [[ -z "$SKIP_WELCOME" ]]; then
welcome