Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a note about switching shells to default bash in MacOSX #1396

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions instructors/instructor-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```