mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
d9ec65da4d
darcs-hash:20061206000810-ac50b-08f12efdb74224abe46301d3722cd8180d8ba37d.gz
19 lines
628 B
Plaintext
19 lines
628 B
Plaintext
\section alias alias - create a function
|
|
|
|
\subsection alias-synopsis Synopsis
|
|
<pre>alias NAME DEFINITION
|
|
alias NAME=DEFINITION</pre>
|
|
|
|
\subsection alias-description Description
|
|
|
|
Alias is a shellscript wrapper around the function builtin.
|
|
It exists for backwards compatibility with Posix
|
|
shells. For other uses, it is recommended to define a <a
|
|
href='#function'>function</a>.
|
|
|
|
Alias does not keep track of which functions have been defined using
|
|
alias, nor does it allow erasing of aliases.
|
|
|
|
- NAME is the name of the function to define
|
|
- DEFINITION is the body of the function. The string " $argv" will be appended to the body.
|