zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Adam Spiers <adam@spiers.net>
Cc: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: bug in FAQ section 1.7?
Date: Mon, 3 Apr 2000 19:13:25 +0100 (BST)	[thread overview]
Message-ID: <E12cBLp-0008DJ-00@crucigera.fysh.org> (raw)
In-Reply-To: <20000403142912.D32194@thelonious.new.ox.ac.uk> from Adam Spiers at "Apr 3, 2000 02:29:12 pm"

Adam Spiers wrote:
>  If you have zsh in a subdirectory mytt(bin) of your home directory,
>  put this in .profile:
>              ^^^^^^^^
>
>I tried this in order to get my default shell on zsh.sourceforge.net
>to be the one in /home/groups/zsh/bin, but it doesn't work.

Your login shell should be /bin/sh, which will execute .profile.  I use
this technique consistently on all systems, regardless of whether or not
the zsh I want to use is permitted as a login shell.  I find it useful
to have a consistent, same-everywhere environment to run my login stuff.

I'm always wary about making .profile unconditionally exec another shell,
though, especially when it's a shell likely to get updated.  For paranoia,
the first thing in my .profile is

	test ."$TERM" = .un && exec /bin/sh

which provides a way to avoid all the cleverness if stuff goes
wrong.  (For more cleverness that could go wrong, have a look at
/home/users/zefram/.profile on SourceForge.)

-zefram


      parent reply	other threads:[~2000-04-03 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-03 13:29 Adam Spiers
2000-04-03 15:05 ` Bart Schaefer
2000-04-03 18:13 ` Zefram [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=E12cBLp-0008DJ-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.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).