2006-11-17 16:24:38 +00:00
|
|
|
\section alias alias - create a function
|
|
|
|
|
|
|
|
\subsection alias-synopsis Synopsis
|
2006-12-06 00:08:10 +00:00
|
|
|
<pre>alias NAME DEFINITION
|
|
|
|
alias NAME=DEFINITION</pre>
|
2006-11-17 16:24:38 +00:00
|
|
|
|
|
|
|
\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>.
|
|
|
|
|
2006-12-06 00:08:10 +00:00
|
|
|
Alias does not keep track of which functions have been defined using
|
2010-09-18 02:18:26 +00:00
|
|
|
alias, nor does it allow erasing of aliases.
|
2006-12-06 00:08:10 +00:00
|
|
|
|
2006-11-17 16:24:38 +00:00
|
|
|
- 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.
|