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

@@ -22,10 +22,10 @@ fi
# ==============================================================================
if command-exists rustup; then
setup-completions rustup "$(command -v rustup)" rustup completions zsh
setup-completions rustup "$(command-path rustup)" rustup completions zsh
if command-exists cargo; then
setup-completions cargo "$(command -v cargo)" rustup completions zsh cargo
setup-completions cargo "$(command-path cargo)" rustup completions zsh cargo
fi
fi