From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21843 invoked from network); 13 Sep 2004 18:17:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Sep 2004 18:17:34 -0000 Received: (qmail 46488 invoked from network); 13 Sep 2004 18:17:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Sep 2004 18:17:29 -0000 Received: (qmail 23805 invoked by alias); 13 Sep 2004 18:16:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7983 Received: (qmail 21323 invoked from network); 13 Sep 2004 16:01:44 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Sep 2004 16:01:44 -0000 Received: (qmail 64851 invoked from network); 13 Sep 2004 16:00:45 -0000 Received: from web61306.mail.yahoo.com (216.155.196.149) by a.mx.sunsite.dk with SMTP; 13 Sep 2004 16:00:42 -0000 Message-ID: <20040913155253.56857.qmail@web61306.mail.yahoo.com> Received: from [213.243.180.110] by web61306.mail.yahoo.com via HTTP; Mon, 13 Sep 2004 08:52:53 PDT Date: Mon, 13 Sep 2004 08:52:53 -0700 (PDT) From: Tero Niemela Subject: Two simple questions To: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=BAYES_44,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 Hi, I'd like to ask two questions that should be easy to answer although with google I could not find anything. 0) I'm seeing dirs like /bin /bin/ and even /bin// in my PATH. What would be the best way to clean up the trailing slashes? "typeset -U path" won't clean up paths if they have different number of trailing slashes (I mean all those mentioned paths are left but other instances of, e.g., /bin are of course cleaned). 1) I use cygwin+zsh and it works great. I have in my windows explorer "Command prompt here" option that starts cmd.exe in the selected directory (with "cmd.exe /k 'cd %1'" or something). How could I define a command in command line that gets executed after all zsh configuration files? zsh && cd /some/path of course doesn't work. Thanks for your help. _______________________________ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool