mirror of
https://github.com/Lissy93/dotfiles.git
synced 2025-06-30 21:49:59 +02:00
Executes zoxide if needed
This commit is contained in:
@ -60,6 +60,11 @@ if [ "$(uname -s)" = "Darwin" ] && [[ -d "${HOME}/Library/Android/" ]]; then
|
|||||||
export NODE_BINARY="/usr/local/bin/node"
|
export NODE_BINARY="/usr/local/bin/node"
|
||||||
fi
|
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 not running in nested shell, then show welcome message :)
|
||||||
if [[ "${SHLVL}" -lt 2 ]] && [[ -z "$SKIP_WELCOME" ]]; then
|
if [[ "${SHLVL}" -lt 2 ]] && [[ -z "$SKIP_WELCOME" ]]; then
|
||||||
welcome
|
welcome
|
||||||
|
Reference in New Issue
Block a user