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 @@%}