diff options
author | axel <axel@liljencrantz.se> | 2007-01-28 00:12:15 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-01-28 00:12:15 +1000 |
commit | be0bd50bad7f12f75bbd9e79ed6155f35df363d7 (patch) | |
tree | 8e34ca971945b6823e00e1645cc303e97a8a2c68 /share/functions/isatty.fish | |
parent | cab5c63402101b1f5568f37a5b401db170a67dbf (diff) |
Remove unneeded code from isatty, fix spelling in docs
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
Diffstat (limited to 'share/functions/isatty.fish')
-rw-r--r-- | share/functions/isatty.fish | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/functions/isatty.fish b/share/functions/isatty.fish index b4c59e29..1603972f 100644 --- a/share/functions/isatty.fish +++ b/share/functions/isatty.fish @@ -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 |