Don't use absolute path when calling fedit script in plugin
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user