aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/alias.txt
blob: ca34ab4bc8fa52831cd164b288a76777af7eb933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\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.