funcsave: Don't save details

The "# defined in /path/to/file" comment here is, almost by
definition, wrong.
This commit is contained in:
Fabian Homborg 2021-04-21 19:44:56 +02:00
parent 9d7f6db792
commit 8cd5f6cfde

View File

@ -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