mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-18 17:11:15 -03:00
funced: suggest saving functions when an editor is used
This commit is contained in:
@@ -166,6 +166,9 @@ function funced --description 'Edit function definition'
|
||||
end
|
||||
else if set -q _flag_save
|
||||
funcsave $funcname
|
||||
else
|
||||
printf (_ "Run funcsave %s to save this function to the configuration directory.") $funcname
|
||||
echo
|
||||
end
|
||||
end
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user