Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with zip completion
- X-seq: zsh-users 4387
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Problem with zip completion
- Date: Wed, 17 Oct 2001 17:44:46 +0000
- In-reply-to: <1011017172404.ZM4733@xxxxxxxxxxxxxxxxxxxxxxx>
- 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>
On Oct 17, 5:24pm, Bart Schaefer wrote:
}
} On Oct 17, 7:11pm, Vincent Lefevre wrote:
} }
} } TRAPCLD() { precmd > $TTY }
} }
} } this solves the problem. Is it the right thing to do?
}
} Almost certainly.
Actually, having given it a moment's more thought, it would probably be
better to use
TRAPCLD() { [[ -t 0 ]] && precmd }
or even
TRAPCLD() { [[ -o interactive && -t 0 ]] && precmd }
Messages sorted by:
Reverse Date,
Date,
Thread,
Author