From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22298 invoked from network); 18 Oct 2001 09:06:58 -0000 Received: from unknown (HELO sunsite.dk) (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Oct 2001 09:06:58 -0000 Received: (qmail 21733 invoked by alias); 18 Oct 2001 09:06:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4392 Received: (qmail 21717 invoked from network); 18 Oct 2001 09:06:35 -0000 X-Authentication-Warning: greux.loria.fr: lefevre set sender to vincent@vinc17.org using -f Date: Thu, 18 Oct 2001 11:05:59 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Problem with zip completion Message-ID: <20011018110559.B19986@greux.loria.fr> Mail-Followup-To: zsh-users@sunsite.dk References: <20011017111333.A32235@dman.com> <20011017182121.A6958@greux.loria.fr> <1011017164932.ZM4674@candle.brasslantern.com> <20011017191154.B17322@greux.loria.fr> <1011017172404.ZM4733@candle.brasslantern.com> <1011017174447.ZM4784@candle.brasslantern.com> <20011018011512.C17952@greux.loria.fr> <011017175757.ZM5134@candle.brasslantern.com> <20011018041354.A18565@greux.loria.fr> <20011018004659.A13346@astaroth.sweth.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011018004659.A13346@astaroth.sweth.net> User-Agent: Mutt/1.3.23-current-20011011i X-Mailer-Info: http://www.vinc17.org/mutt_eng.html 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 - Web: - 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