Skip to content

Commit

Permalink
Update shell.html
Browse files Browse the repository at this point in the history
  • Loading branch information
celticelk authored Sep 18, 2024
1 parent 77d8764 commit de6a3d0
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions _includes/install_instructions/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h4>Video Tutorial</h4>
</article>
<article role="tabpanel" class="tab-pane" id="shell-macos">
<p>
The default shell in Mac OS X Ventura and newer versions is Zsh, but
The default shell in some versions of macOS is Bash, and
Bash is available in all versions, so no need to install anything.
You access Bash from the Terminal (found in
<code>/Applications/Utilities</code>).
Expand All @@ -118,16 +118,11 @@ <h4>Video Tutorial</h4>
To see if your default shell is Bash type <code>echo $SHELL</code>
in Terminal and press the <kbd>Return</kbd> key. If the message
printed does not end with '/bash' then your default is something
else, you can change your current shell to Bash by typing
<code>bash</code> and then pressing <kbd>Return</kbd>. To check
your current shell type <code>echo $0</code> and press <kbd>Return</kbd>.
else and you can run Bash by typing <code>bash</code>
</p>
<p>
To change your default shell to Bash type <code>chsh -s /bin/bash</code> and
press the <kbd>Return</kbd> key, then reboot for the change to take effect. To
change your default back to Zsh, type <code>chsh -s /bin/zsh</code>, press the
<kbd>Return</kbd> key and reboot. To check available shells, type
<code>cat /etc/shells</code>.
If you want to change your default shell, see <a href="https://support.apple.com/en-au/HT208050" rel="noopener">
this Apple Support article</a> and follow the instructions on "How to change your default shell".
</p>
<h4 id="shell-macos-video-tutorial">Video Tutorial</h4>
<div class="yt-wrapper2">
Expand All @@ -142,19 +137,10 @@ <h4 id="shell-macos-video-tutorial">Video Tutorial</h4>
install anything.
</p>
<p>
To see if your default shell is Bash type <code>echo $SHELL</code>
in Terminal and press the <kbd>Return</kbd> key. If the message
printed does not end with '/bash' then your default is something
else, you can change your current shell to Bash by typing
<code>bash</code> and then pressing <kbd>Return</kbd>. To check
your current shell type <code>echo $0</code> and press <kbd>Return</kbd>.
</p>
<p>
To change your default shell to Bash type <code>chsh -s /bin/bash</code> and
press the <kbd>Return</kbd> key, then reboot for the change to take effect. To
change your default back to Zsh, type <code>chsh -s /bin/zsh</code>, press the
<kbd>Return</kbd> key and reboot. To check available shells, type
<code>cat /etc/shells</code>.
To see if your default shell is Bash type <code>echo $SHELL</code> in
a terminal and press the <kbd>Enter</kbd> key. If the message printed
does not end with '/bash' then your default is something else and you
can run Bash by typing <code>bash</code>.
</p>
</article>
</div>
Expand Down

0 comments on commit de6a3d0

Please sign in to comment.