zsh-users
 help / color / mirror / code / Atom feed
From: TJ Luoma <luomat@gmail.com>
To: Frank Gallacher <franxg@gmail.com>
Cc: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: How do I make 5.8 the login shell???
Date: Sat, 11 Jul 2020 01:18:57 -0400	[thread overview]
Message-ID: <CADjGqHvm6nKXt10WBwzQhsnoJpjx41yiXZLOTHZNvhTpOAKNVA@mail.gmail.com> (raw)
In-Reply-To: <BY5PR13MB309616B0E4D7C4862317EB79F2620@BY5PR13MB3096.namprd13.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

> Is there a trick to installing 5.8,  I downloaded the tarball,
decompressed it, then did a ./configure and a make followed by “make
install”

Hi Frank!

I'm guessing that zsh 5.7.1 is located at /bin/zsh and 5.8 is located at
/usr/local/bin/zsh.

If you want to use 5.8 as your login shell,  there are two things you need
to do.

First, you **must** add /usr/local/bin/zsh to /etc/shells

You can do this by typing:

sudo pico /etc/shells

and then pasting the line in, and then saving the file (control+X and then
control+Y)

Second, use `chsh -s` to change your login shell by entering this in
Terminal:

chsh -s /usr/local/bin/zsh

You will be prompted to enter your Mac's login password.

(Note: on the Mac, you can also:

1. go to System Preferences > Users & Groups

2. Click on the 'lock' icon and enter your password

3. Control+Click (or right click) on your user in the left-hand column

4. Select "Advanced Options" which will appear when you do so

From there you can change your login shell. Obviously `chsh -s` is a bit
easier, but it's good to know your options.

## There is another option

If you don't want to deal with any of that, there is another way. You can
tell Terminal.app to use a different shell than your login shell. Open
Terminal's preferences, go to "General" and then "Shells open with" and you
can change it to /usr/local/bin/zsh

Screenshot might make it more clear:

https://i.luo.ma/ss/terminal-app-use-different-shell.png

I hope this helps!

~ Tj

  reply	other threads:[~2020-07-11  5:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-11  4:30 Frank Gallacher
2020-07-11  5:18 ` TJ Luoma [this message]
2020-07-11  6:29   ` Lawrence Velázquez
2020-07-11 12:49     ` Frank Gallacher
2020-07-11 16:14 ` Ray Andrews

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=CADjGqHvm6nKXt10WBwzQhsnoJpjx41yiXZLOTHZNvhTpOAKNVA@mail.gmail.com \
    --to=luomat@gmail.com \
    --cc=franxg@gmail.com \
    --cc=zsh-users@zsh.org \
    /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).