Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with zip completion
- X-seq: zsh-users 4391
- From: Sweth Chandramouli <svc@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Problem with zip completion
- Date: Thu, 18 Oct 2001 00:46:59 -0400
- In-reply-to: <20011018041354.A18565@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20011017164751.A6245@xxxxxxxxxxxxxx> <20011017111333.A32235@xxxxxxxx> <20011017182121.A6958@xxxxxxxxxxxxxx> <1011017164932.ZM4674@xxxxxxxxxxxxxxxxxxxxxxx> <20011017191154.B17322@xxxxxxxxxxxxxx> <1011017172404.ZM4733@xxxxxxxxxxxxxxxxxxxxxxx> <1011017174447.ZM4784@xxxxxxxxxxxxxxxxxxxxxxx> <20011018011512.C17952@xxxxxxxxxxxxxx> <011017175757.ZM5134@xxxxxxxxxxxxxxxxxxxxxxx> <20011018041354.A18565@xxxxxxxxxxxxxx>
On Thu, Oct 18, 2001 at 04:13:55AM +0200, Vincent Lefevre wrote:
> On Wed, Oct 17, 2001 at 17:57:57 -0700, Bart Schaefer wrote:
> > My assumption would be that if stdout is redirected, then the child that's
> > exiting must not be a child of the top-level interactive shell, and thus
> > changing the terminal title would at best be a waste of effort.
>
> Well, maybe. I thought that stdout (of the top-level shell) could be
> temporarily redirected with some obscure builtins I didn't know.
No need for obscure builtins; standard redirection can
always be applied to the current shell via exec:
$ exec > /tmp/file
$ ls
$ exec > /dev/tty
$ ls
file1 file2 file3
$ cat /tmp/file
file1
file2
file3
. I'm not sure why you'd want to do that in an interactive
shell, though.
-- Sweth.
--
Sweth Chandramouli ; <svc@xxxxxxxxxxxxxx>
President, Idiopathic Systems Consulting
Messages sorted by:
Reverse Date,
Date,
Thread,
Author