mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Add emacs to 'funced -e'
The order is also changed.
This commit is contained in:
parent
85f19f9b8c
commit
792e246262
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue