From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10616 invoked from network); 17 Jul 2006 03:13:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jul 2006 03:13:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28249 invoked from network); 17 Jul 2006 03:13:26 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jul 2006 03:13:26 -0000 Received: (qmail 11182 invoked by alias); 17 Jul 2006 03:13:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10524 Received: (qmail 11172 invoked from network); 17 Jul 2006 03:13:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Jul 2006 03:13:19 -0000 Received: (qmail 27251 invoked from network); 17 Jul 2006 03:13:19 -0000 Received: from nf-out-0910.google.com (64.233.182.189) by a.mx.sunsite.dk with SMTP; 17 Jul 2006 03:13:18 -0000 Received: by nf-out-0910.google.com with SMTP id l36so97173nfa for ; Sun, 16 Jul 2006 20:13:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T0TIWnLCv2f67yDhZUFjLEA/tX3MrDY3eEu9YeRfS2SHXp1fq4mQUq3JAhfwVCwBEs0oISsTacWY/81mwvpKgFkMibMFvYU40Xb4l4tovxftTDtFNlWPbZyXvD8hEOwkAVZIJirmEAfFySWr/mIrYnSFDrRGXASxd+qDgczEB7g= Received: by 10.78.156.6 with SMTP id d6mr641506hue; Sun, 16 Jul 2006 20:13:17 -0700 (PDT) Received: by 10.78.130.8 with HTTP; Sun, 16 Jul 2006 20:13:17 -0700 (PDT) Message-ID: Date: Sun, 16 Jul 2006 23:13:17 -0400 From: "Christopher Browne" To: "Mikael Magnusson" Subject: Re: I get tcsh at login; want zsh Cc: zsh-users@sunsite.dk In-Reply-To: <237967ef0607161709t21c61aafr2dfbf6f447d8ce5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060716232837.GA8923@panix.com> <237967ef0607161709t21c61aafr2dfbf6f447d8ce5a@mail.gmail.com> On 7/16/06, Mikael Magnusson wrote: > > What do I need to do to be able to log directly into and directly out > > of zsh? > > Check what startup files are used by tcsh and put 'exec zsh' in it. While easy to invoke, that mayn't be the wisest approach. Should there not be a path to zsh, for some reason, you might discover yourself unable to login anymore. I'd be *much* more inclined to run some test for existence first, and, better still, to test that zsh actually works before committing to "exec zsh" Thus, a logic like... if -e /usr/bin/zsh; then if /usr/bin/zsh "invoke something that should return true"; then exec /usr/bin/zsh fi fi Perhaps that should involve a search for where zsh is... --=20 http://www3.sympatico.ca/cbbrowne/linux.html Oddly enough, this is completely standard behaviour for shells. This is a roundabout way of saying `don't use combined chains of `&&'s and `||'s unless you think G=F6del's theorem is for sissies'.