zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Gunnar Erik Gervin" <erikggervin@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: From zsh back to bash
Date: Mon, 01 Jul 2024 17:50:17 -0400	[thread overview]
Message-ID: <61979bb9-b35f-47fd-a334-0ab95591137e@app.fastmail.com> (raw)
In-Reply-To: <CAJTudjgijxcVM3KjuXr9bfTjjZPN1mKnnEG2QzYf33zWHkvGyQ@mail.gmail.com>

On Mon, Jul 1, 2024, at 3:39 PM, Gunnar Erik Gervin wrote:
> How do I find out which shell options I have in a zsh terminal?

Assuming you mean "which shells you have available", this command
lists the shells provided by macOS (assuming /etc/shells hasn't
been modified):

	% cat /etc/shells

Presumably you know about any shells that you've installed yourself.

> How do I set the standard shell (in an iMac from 2017) to be bash 
> instead of zsh ?

Assuming you mean "default interactive shell", follow these
instructions but select bash instead of zsh:

https://support.apple.com/en-us/102360

Note that macOS's /bin/bash is very old.  If you want to use another
bash, you may have to adjust the instructions (e.g., run "sudo chsh
-s /path/to/newer/bash" instead of the unprivileged "chsh -s
/bin/bash").

How to obtain another bash is left as an exercise for the reader.

-- 
vq


      parent reply	other threads:[~2024-07-01 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 19:39 Gunnar Erik Gervin
2024-07-01 21:48 ` Jim
2024-07-01 21:50 ` Lawrence Velázquez [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=61979bb9-b35f-47fd-a334-0ab95591137e@app.fastmail.com \
    --to=larryv@zsh.org \
    --cc=erikggervin@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).