mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +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
|
||||
|
||||
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
|
||||
set external $e
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user