This file is indexed.

/usr/share/fish/man/man1/alias.1 is in fish-common 2.2.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH "alias" 1 "Wed Dec 16 2015" "Version 2.2.0" "fish" \" -*- nroff -*-
.ad l
.nh
.SH NAME
\fBalias\fP -- create a function 

.PP
.SS "Synopsis"
.PP
.nf

\fBalias\fP NAME DEFINITION
\fBalias\fP NAME=DEFINITION
.fi
.PP
.SS "Description"
\fCalias\fP is a simple wrapper for the \fCfunction\fP builtin\&. It exists for backwards compatibility with Posix shells\&. For other uses, it is recommended to define a \fCfunction\fP\&.
.PP
\fCfish\fP does not keep track of which functions have been defined using \fCalias\fP\&. They must be erased using \fCfunctions -e\fP\&.
.PP
.IP "\(bu" 2
\fCNAME\fP is the name of the alias
.IP "\(bu" 2
\fCDEFINITION\fP is the actual command to execute\&. The string \fC$argv\fP will be appended\&.
.PP
.PP
You cannot create an alias to a function with the same name\&.
.SS "Example"
The following code will create \fCrmi\fP, which runs \fCrm\fP with additional arguments on every invocation\&.
.PP
.PP
.nf

\fBalias\fP rmi 'rm -i'
.fi
.PP
.PP
.PP
.nf
  This is equivalent to entering the following function:
.fi
.PP
.PP
.PP
.nf
\fBfunction\fP rmi
    \fBrm\fP -i $argv
\fBend\fP
.fi
.PP