Files
dotfiles/zsh/zoxide.zsh
2024-06-06 18:33:38 +01:00

12 lines
240 B
Bash

#
# zoxide Setup
#
if command-exists zoxide; then
cached-eval "$(command-path zoxide)" zoxide init --cmd zox zsh
# Use functions to allow regular zsh completion for cd to work.
cd() { __zoxide_z "$@"; }
alias cdi='__zoxide_zi'
fi