mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Tiny touchups of docs and code
darcs-hash:20071006105527-75c98-339c5d7ec2fbae0c2d4dc93552db85c389971a6a.gz
This commit is contained in:
parent
9b74687384
commit
175dd75a3d
3 changed files with 5 additions and 3 deletions
|
@ -133,7 +133,7 @@ static int builtin_stdin;
|
|||
static hash_table_t *desc=0;
|
||||
|
||||
/**
|
||||
The underyion IO redirections behind the current builtin. This
|
||||
The underlying IO redirections behind the current builtin. This
|
||||
should normally not be used - sb_out and friends are already
|
||||
configured to handle everything.
|
||||
*/
|
||||
|
|
|
@ -936,7 +936,8 @@ started by fish, those in lowercase are not exported. This rule is not
|
|||
enforced by fish, but it is good coding practice to use casing to
|
||||
distinguish between exported and unexported variables. \c fish also
|
||||
uses several variables internally. Such variables are prefixed with
|
||||
the string __FISH or __fish. These should be ignored by the user.
|
||||
the string __FISH or __fish. These should never be used by the
|
||||
user. Changing their value may break fish.
|
||||
|
||||
\subsection variables-status The status variable
|
||||
|
||||
|
|
3
reader.c
3
reader.c
|
@ -3131,7 +3131,8 @@ int reader_read( int fd, io_data_t *io )
|
|||
is handled by proc_push_interactive/proc_pop_interactive.
|
||||
*/
|
||||
|
||||
proc_push_interactive( ((fd == 0) && isatty(STDIN_FILENO)));
|
||||
int inter = ((fd == STDIN_FILENO) && isatty(STDIN_FILENO));
|
||||
proc_push_interactive( inter );
|
||||
|
||||
res= is_interactive?read_i():read_ni( fd, io );
|
||||
|
||||
|
|
Loading…
Reference in a new issue