mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Add emacs to 'funced -e'
The order is also changed.
This commit is contained in:
parent
85f19f9b8c
commit
792e246262
@ -9,7 +9,7 @@ function funced --description 'Edit function definition'
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not type -f "$external" >/dev/null
|
if not type -f "$external" >/dev/null
|
||||||
for e in edit nano pico joe mcedit vim vi
|
for e in edit emacs vim joe mcedit nano pico vi
|
||||||
if type -f $e >/dev/null
|
if type -f $e >/dev/null
|
||||||
set external $e
|
set external $e
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user