global/*: add better fzf args
This commit is contained in:
parent
a0230ba810
commit
a02bd9d73c
3 changed files with 8 additions and 8 deletions
|
@ -40,9 +40,9 @@
|
|||
|
||||
j() {
|
||||
if [[ $# -eq 0 ]] then
|
||||
\builtin cd -- "$(fd -H -t d | fzf)"
|
||||
\builtin cd -- "$(fd -H -t d | fzf --filepath-word)"
|
||||
else
|
||||
\builtin cd -- "$(fd -H -t d | fzf -1 -q "$*")"
|
||||
\builtin cd -- "$(fd -H -t d | fzf --filepath-word -1 -q "$*")"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue