mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:27:28 +08:00
funcsave: Don't save details
The "# defined in /path/to/file" comment here is, almost by definition, wrong.
This commit is contained in:
parent
9d7f6db792
commit
8cd5f6cfde
|
@ -27,7 +27,7 @@ function funcsave --description "Save the current definition of all specified fu
|
|||
set -l retval 0
|
||||
for funcname in $argv
|
||||
if functions -q -- $funcname
|
||||
functions -- $funcname >$funcdir/$funcname.fish
|
||||
functions --no-details -- $funcname >$funcdir/$funcname.fish
|
||||
else
|
||||
printf (_ "%s: Unknown function '%s'\n") funcsave $funcname
|
||||
set retval 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user