mirror of
https://github.com/notwa/rc
synced 2024-11-05 13:19:03 -08:00
fix fzy
check for real this time
This commit is contained in:
parent
713f352c2c
commit
13149ff607
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ dirup() { ### @-
|
|||
dirview() { ### @-
|
||||
### use a fuzzy finder to select a recent directory in the directory stack
|
||||
### and change to it without consuming the prompt.
|
||||
local fuzzy="$(has fzy || print)"
|
||||
local fuzzy="$(have fzy || print)"
|
||||
print
|
||||
if [ -n "$fuzzy" ]; then
|
||||
local d="$(dirs -pl | awk '!seen[$0]++' | "$fuzzy")"
|
||||
|
|
Loading…
Reference in a new issue