feat: add and use zoxide
This commit is contained in:
parent
f7df88b616
commit
7cfdca5a06
3 changed files with 13 additions and 8 deletions
|
@ -11,7 +11,7 @@ if [[ $# -eq 1 ]]; then
|
|||
else
|
||||
# Get the session name from fuzzy-finding list of directories and generating a
|
||||
# tmux-safe version.
|
||||
selected=$(find ~/ ~/Code ~/Code/clients ~/Code/os ~/Code/Personal ~/Documents/Books ~/Documents/Talks/ -mindepth 1 -maxdepth 1 -type d -not -name ".*" | sort | fzf)
|
||||
selected=$(zoxide query -l | sort | fzf --reverse)
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue