mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
Add emacs to 'funced -e'
The order is also changed.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user