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