mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Remove unneeded code from isatty, fix spelling in docs
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user