chore(shell): add custom command-path helper

This commit is contained in:
Jim Myhrberg
2024-06-06 18:33:38 +01:00
parent 12b5ecee91
commit d9cb73260e
8 changed files with 16 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
#
if command-exists zoxide; then
cached-eval "$(command -v zoxide)" zoxide init --cmd zox zsh
cached-eval "$(command-path zoxide)" zoxide init --cmd zox zsh
# Use functions to allow regular zsh completion for cd to work.
cd() { __zoxide_z "$@"; }