fix `fzy` check for real this time

This commit is contained in:
Connor Olding 2021-10-21 17:01:23 +02:00
parent 713f352c2c
commit 13149ff607
1 changed files with 1 additions and 1 deletions

View File

@ -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")"