mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 22:22:44 +08:00
15 lines
516 B
Plaintext
15 lines
516 B
Plaintext
\section funcsave funcsave - save the definition of a function to the user's autoload directory
|
|
|
|
\subsection funcsave-synopsis Synopsis
|
|
\fish{synopsis}
|
|
funcsave FUNCTION_NAME
|
|
\endfish
|
|
|
|
\subsection funcsave-description Description
|
|
|
|
`funcsave` saves the current definition of a function to
|
|
a file in the fish configuration directory. This function will be automatically
|
|
loaded by current and future fish sessions. This can be useful if you have interactively
|
|
created a new function and wish to save it for later use.
|
|
|