mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Remove unneeded code from isatty, fix spelling in docs
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
This commit is contained in:
parent
cab5c63402
commit
be0bd50bad
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
\section isatty isatty - test if the specidied file descriptor is a tty
|
||||
\section isatty isatty - test if the specified file descriptor is a tty
|
||||
|
||||
\subsection isatty-synopsis Synopsis
|
||||
<tt>isatty [FILE DESCRIPTOR]</tt>
|
||||
|
|
|
@ -23,7 +23,6 @@ function isatty -d "Tests if a file descriptor is a tty"
|
|||
end
|
||||
end
|
||||
|
||||
eval "tty 0>&$fd >/dev/null"; and return 0
|
||||
eval "tty 0>&$fd >/dev/null"
|
||||
|
||||
return 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue