Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] _file_descriptors: initialize `list' array with local -a



Eric Cook wrote:
> +  fi 2>/dev/null

That redirection causes the description of fd 2 to change to /dev/null
instead of being the tty. I'm not sure in what situation it is needed
but it might be better to put it directly on the readlink/sed or
whichever command actually needs it.

Or perhaps we should hardcode descriptions for fd 0-2 to
stdin/stdout/stderr.

Oliver



Messages sorted by: Reverse Date, Date, Thread, Author