summaryrefslogtreecommitdiff
path: root/config/essentials/zsh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-26 12:54:31 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-26 12:54:31 +0100
commit78bced8de90cc65b897f7f9b7c7987bddc87f51c (patch)
treefde726dfc78527b107ec4bae75aac822c9023a44 /config/essentials/zsh
parentc637bf905bdaa5b3310f1eb293f40d785164fc3c (diff)
use nvf from anywhere
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r--config/essentials/zsh/functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh
index 8bf6c43..98cca08 100644
--- a/config/essentials/zsh/functions.zsh
+++ b/config/essentials/zsh/functions.zsh
@@ -14,7 +14,7 @@ nvf() {
if test ! -f "$match"
then
logn "resetting cache..."
- match="$(goo | tee "$cache" | grep -m 1 "$1$" 2> /dev/null)"
+ match="$(goo f "$HOME" | tee "$cache" | grep -m 1 "$1$" 2> /dev/null)"
# # Alternative:
# match="$(goo | grep -m 1 "$1" 2> /dev/null | tee -a | "$cache")"
fi