From 95b4836e6b831277550bb2e9366e0aedc351b093 Mon Sep 17 00:00:00 2001 From: jweekley-ucsc <56278158+jweekley-ucsc@users.noreply.github.com> Date: Wed, 17 May 2023 17:31:35 -0700 Subject: [PATCH] Added a note about switching shells to default bash in MacOSX --- instructors/instructor-notes.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/instructors/instructor-notes.md b/instructors/instructor-notes.md index 8ffd870eb..865fee5c5 100644 --- a/instructors/instructor-notes.md +++ b/instructors/instructor-notes.md @@ -293,5 +293,23 @@ And please also make use of our [shebang]: https://www.in-ulm.de/~mascheck/various/shebang/ [windows-installer]: https://github.com/swcarpentry/windows-installer +## Mac OSX +The default shell with Mac OS X Ventura and newer versions is ZSH. This is not common for non-Mac users, so we want to switch the default shell to bash before we begin the lesson. The command to do this is: + +```bash +$ chsh -s /bin/bash +``` + +To switch back to the default, you can enter the following: + +```bash +$ chsh -s /bin/zsh +``` + +For a complete list of available shells, you can type: + +```bash +$ cat /etc/shells +```