mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 08:52:46 +08:00
Allow $EDITOR to be an array. Fixes https://github.com/fish-shell/fish-shell/issues/541
This commit is contained in:
parent
3d0d9a250b
commit
debfc0f712
|
@ -47,7 +47,7 @@ function funced --description 'Edit function definition'
|
|||
set init function $funcname\n\nend
|
||||
end
|
||||
|
||||
if not type -f "$editor" >/dev/null
|
||||
if not type -f "$editor[1]" >/dev/null
|
||||
set interactive 1
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user