🐛 fix(dev script): check if zoxide is installed
This commit is contained in:
parent
6805877c40
commit
4e463eb15c
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ handle_editor() {
|
|||
}
|
||||
|
||||
zoxide_score() {
|
||||
if command -v zoxide &>/dev/null; then
|
||||
zoxide add "$selected_dir"
|
||||
fi
|
||||
}
|
||||
|
||||
selected_dir=$($projects_command | $fzf_command --prompt='Select a directory: ' \
|
||||
|
|
Loading…
Add table
Reference in a new issue