2006-10-31 23:23:16 +08:00
|
|
|
\section nextd nextd - move forward through directory history
|
2005-09-20 21:31:55 +08:00
|
|
|
|
|
|
|
\subsection nextd-synopsis Synopsis
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 15:56:01 +08:00
|
|
|
<tt>nextd [-l | --list] [POS]</tt>
|
2005-09-20 21:31:55 +08:00
|
|
|
|
2006-09-19 22:52:03 +08:00
|
|
|
\subsection nextd-description Description
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 15:56:01 +08:00
|
|
|
<tt>nextd</tt> moves forwards <tt>POS</tt> positions in the history of visited
|
|
|
|
directories; if the end of the history has been hit, a warning is printed.
|
|
|
|
|
|
|
|
If the <code>-l></code> or <code>--list</code> flag is specified, the current
|
|
|
|
directory history is also displayed.
|
|
|
|
|
|
|
|
\subsection nextd-example Example
|
|
|
|
|
2013-10-06 03:13:16 +08:00
|
|
|
\code
|
|
|
|
cd /usr/src
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 15:56:01 +08:00
|
|
|
# Working directory is now /usr/src
|
|
|
|
cd /usr/src/fish-shell
|
|
|
|
# Working directory is now /usr/src/fish-shell
|
|
|
|
prevd
|
|
|
|
# Working directory is now /usr/src
|
|
|
|
nextd
|
|
|
|
# Working directory is now /usr/src/fish-shell</pre>
|
2013-10-06 03:13:16 +08:00
|
|
|
\endcode
|