From ef285f1105d724291d4fa632e3b6b4564d14db74 Mon Sep 17 00:00:00 2001 From: shokinn Date: Tue, 29 Jul 2025 11:05:00 +0200 Subject: [PATCH] Add default z zoxide functions --- dotfiles/commonfunc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dotfiles/commonfunc b/dotfiles/commonfunc index 3376bf9..822e760 100644 --- a/dotfiles/commonfunc +++ b/dotfiles/commonfunc @@ -139,6 +139,15 @@ EOF fi } +# zoxide z functions, since my default zoxide init will overwrite the cd command +z () { + __zoxide_z "$@" +} + +zi () { + __zoxide_zi "$@" +} + {%@@ if distro == 'macos' @@%} ####################################### # Shows a netstat -tulpn styled output on mac. @@ -432,4 +441,4 @@ setVpnGitRemote() { echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n" } -{%@@ endif @@%} \ No newline at end of file +{%@@ endif @@%}