From 13149ff607c0ad00da8047a53360c0298bf1382c Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 21 Oct 2021 17:01:23 +0200 Subject: [PATCH] fix `fzy` check for real this time --- home/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/zshrc b/home/zshrc index 5ea5a01..518eb30 100644 --- a/home/zshrc +++ b/home/zshrc @@ -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")"