From 5537227fc02216871d3c5686b96f3ea3b0a39607 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 21 Jun 2020 22:06:16 -0700 Subject: [PATCH] Don't use absolute path when calling fedit script in plugin --- zsh/plugins/fedit.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/plugins/fedit.zsh b/zsh/plugins/fedit.zsh index 1aa938e..d7373bc 100644 --- a/zsh/plugins/fedit.zsh +++ b/zsh/plugins/fedit.zsh @@ -1,11 +1,11 @@ # Fuzzy find a file and then edit it _fedit() { - /usr/bin/fedit && zle reset-prompt + fedit && zle reset-prompt } _etcedit() { - /usr/bin/fedit --etc && zle reset-prompt + fedit --etc && zle reset-prompt } zle -N _fedit