.TH "alias" 1 "8 Feb 2007" "Version 1.22.3" "fish" \" -*- nroff -*- .ad l .nh .SH NAME alias - create a function .PP .SS "Synopsis" .PP .nf alias NAME DEFINITION alias NAME=DEFINITION .fi .PP .SS "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 function. .PP Alias does not keep track of which functions have been defined using alias, nor does it allow erasing of aliases. .PP .IP "\(bu" 2 NAME is the name of the function to define .IP "\(bu" 2 DEFINITION is the body of the function. The string ' $argv' will be appended to the body. .PP