functions(1) fish functions(1)
NAME
functions - print or erase functions
Synopsis
functions [-e] FUNCTIONS...
Description
This builtin command is used to print or erase functions.
o -a or --all list all functions, even those whose name start with an
underscore.
o -d DESCRIPTION or --description=DESCRIPTION change the description of
this function
o -e or --erase causes the specified functions to be erased.
o -h or --help display a help message and exit
o -n or --names list only the names of all defined functions, not their
definition
o -q or --query test if the specified functions exist. Does not output
anything, but the builtins exit status is the number of functions
specified that were not defined.
The default behavior of functions when called with no arguments, is to
print the names and definitions of all defined functions. If any non-
switch parameters are given, only the definition of the specified
functions are printed.
Automatically loaded functions can not be removed using functions -e.
Either remove the definition file or change the $fish_function_path
variable to remove autoloaded functions.
The exit status of the functions builtin is the number functions
specified in the argument list that do not exist.
Version 1.23.1 8 Mar 2009 functions(1)
fish 1.23.1 - Generated Sun Mar 8 14:08:28 CDT 2009
