mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 15:55:32 +08:00
![David Adam (zanchey)](/assets/img/avatar_default.png)
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.
15 lines
496 B
Plaintext
15 lines
496 B
Plaintext
\section isatty isatty - test if the specified file descriptor is a tty
|
|
|
|
\subsection isatty-synopsis Synopsis
|
|
<tt>isatty [FILE DESCRIPTOR]</tt>
|
|
|
|
\subsection isatty-description Description
|
|
<tt>isatty</tt> tests if a file descriptor is a tty.
|
|
|
|
<tt>FILE DESCRIPTOR</tt> may be either the number of a file descriptor, or one of the
|
|
strings <tt>stdin</tt>, \c stdout and <tt>stderr</tt>.
|
|
|
|
If the specified file descriptor is a tty, the exit status of the command is
|
|
zero. Otherwise, it is non-zero.
|
|
|