Add default z zoxide functions

This commit is contained in:
Philip Henning 2025-07-29 11:05:00 +02:00
parent 8c0226d771
commit ef285f1105

View file

@ -139,6 +139,15 @@ EOF
fi fi
} }
# zoxide z functions, since my default zoxide init will overwrite the cd command
z () {
__zoxide_z "$@"
}
zi () {
__zoxide_zi "$@"
}
{%@@ if distro == 'macos' @@%} {%@@ if distro == 'macos' @@%}
####################################### #######################################
# Shows a netstat -tulpn styled output on mac. # Shows a netstat -tulpn styled output on mac.
@ -432,4 +441,4 @@ setVpnGitRemote() {
echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n" echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n"
} }
{%@@ endif @@%} {%@@ endif @@%}