Don't use absolute path when calling fedit script in plugin

This commit is contained in:
Eric Torres 2020-06-21 22:06:16 -07:00
parent 79ccd05105
commit 5537227fc0

View File

@ -1,11 +1,11 @@
# Fuzzy find a file and then edit it # Fuzzy find a file and then edit it
_fedit() { _fedit() {
/usr/bin/fedit && zle reset-prompt fedit && zle reset-prompt
} }
_etcedit() { _etcedit() {
/usr/bin/fedit --etc && zle reset-prompt fedit --etc && zle reset-prompt
} }
zle -N _fedit zle -N _fedit