mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-02 16:04:05 +08:00
1b71f91a01
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
16 lines
525 B
Plaintext
16 lines
525 B
Plaintext
\section alias alias - create a function
|
|
|
|
\subsection alias-synopsis Synopsis
|
|
<tt>alias NAME DEFINITION</tt><br/>
|
|
<tt>alias NAME=DEFINITION</tt>
|
|
|
|
\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>.
|
|
|
|
- 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.
|