From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: Problem with zip completion
Date: Thu, 18 Oct 2001 11:05:59 +0200 [thread overview]
Message-ID: <20011018110559.B19986@greux.loria.fr> (raw)
In-Reply-To: <20011018004659.A13346@astaroth.sweth.net>
On Thu, Oct 18, 2001 at 00:46:59 -0400, Sweth Chandramouli wrote:
> . I'm not sure why you'd want to do that in an interactive
> shell, though.
Perhaps to have something like that, to write information about the
current shell to a file?
testfct () {
exec >| /tmp/file
echo "setopt:"
setopt
echo "unsetopt:"
unsetopt
echo "jobs:"
jobs
exec > /dev/tty
}
I think I'll take
TRAPCLD () { [[ -o interactive && -n $TTY ]] && precmd > $TTY }
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
prev parent reply other threads:[~2001-10-18 9:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 14:47 Vincent Lefevre
2001-10-17 15:43 ` Bart Schaefer
2001-10-17 16:22 ` Oliver Kiddle
[not found] ` <20011017111333.A32235@dman.com>
2001-10-17 16:21 ` Vincent Lefevre
2001-10-17 16:49 ` Bart Schaefer
2001-10-17 17:11 ` Vincent Lefevre
2001-10-17 17:24 ` Bart Schaefer
2001-10-17 17:44 ` Bart Schaefer
2001-10-17 23:15 ` Vincent Lefevre
2001-10-18 0:57 ` Bart Schaefer
2001-10-18 2:13 ` Vincent Lefevre
2001-10-18 4:46 ` Sweth Chandramouli
2001-10-18 9:05 ` Vincent Lefevre [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011018110559.B19986@greux.loria.fr \
--to=vincent@vinc17.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).