From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1569 invoked from network); 28 Aug 2002 16:51:45 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 28 Aug 2002 16:51:45 -0000 Received: (qmail 20803 invoked by alias); 28 Aug 2002 16:51:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5314 Received: (qmail 20790 invoked from network); 28 Aug 2002 16:51:28 -0000 Date: Wed, 28 Aug 2002 09:48:47 -0700 (PDT) From: Wayne Davison X-X-Sender: wayne@scuzzy.blorf.net To: Vincent Lefevre Cc: Zsh users list Subject: Re: zsh-4.04 and w3m browser In-Reply-To: <20020828153346.GF13666@greux.loria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 28 Aug 2002, Vincent Lefevre wrote: > But how to make it work for any command? (and that should work even > when there are pipes and so on.) If there were some way to run a shell function after the user hits return but before the line is parsed, it would be possible for the function to add single quotes to all the strings of non-spaces that start with http: (assuming that the command-line was in a variable that could be modified). ..wayne..