/usr/share/fish/man/man1/pushd.1 is in fish-common 2.4.0-1.
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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | .TH "pushd" 1 "Sun Dec 11 2016" "Version 2.4.0" "fish" \" -*- nroff -*-
.ad l
.nh
.SH NAME
\fBpushd\fP -- push directory to directory stack
.PP
.SS "Synopsis"
.PP
.nf
\fBpushd\fP [DIRECTORY]
.fi
.PP
.SS "Description"
The \fCpushd\fP function adds \fCDIRECTORY\fP to the top of the directory stack and makes it the current working directory\&. \fC\fCpopd\fP\fP will pop it off and return to the original directory\&.
.PP
Without arguments, it exchanges the top two directories in the stack\&.
.PP
\fCpushd +NUMBER\fP rotates the stack counter-clockwise i\&.e\&. from bottom to top
.PP
\fCpushd -NUMBER\fP rotates clockwise i\&.e\&. top to bottom\&.
.PP
See also \fCdirs\fP and \fCdirs -c\fP\&.
.SS "Example"
.PP
.nf
\fBpushd\fP /usr/src
Working directory is now /usr/src
Directory stack contains /usr/src
.fi
.PP
.PP
.PP
.nf
\fBpushd\fP /usr/src/fish-shell
Working directory is now /usr/src/fish-shell
Directory stack contains /usr/src /usr/src/fish-shell
.fi
.PP
.PP
.PP
.nf
\fBpushd\fP /tmp/
Working directory is now /tmp
Directory stack contains /tmp /usr/src /usr/src/fish-shell
.fi
.PP
.PP
.PP
.nf
\fBpushd\fP +1
Working directory is now /usr/src
Directory stack contains /usr/src /usr/src/fish-shell /tmp
.fi
.PP
.PP
.PP
.nf
\fBpopd\fP
Working directory is now /usr/src/fish-shell
Directory stack contains /usr/src/fish-shell /tmp
.fi
.PP
|