jlevy / the-art-of-command-line

Master the command line, in one page
153.4k stars 14.56k forks source link

zsh is default for macOS #690

Open MtnBiker opened 4 years ago

MtnBiker commented 4 years ago

This is great guide, but unfortunately starts with bash while zsh is the default editor for macOS. As someone who knows a little command line I gave up when one of the early commands mentioned didn't work. Control-R to see previous commands.

While "Alternate shells can be nice, but Bash is powerful and always available (learning only zsh, fish, etc., while tempting on your own laptop, restricts you in many situations, such as using existing servers)." sounds nice it doesn't work for everyone". I think anyone digging into this tutorial would be fine learning in zsh and knowing that they may to use bash will be OK. Putting zsh commands in parenthesis seems like a plausible work around.

ghost commented 4 years ago

just start bash on mac by typing "bash" into zsh

ghost commented 4 years ago

closed

jlevy commented 2 years ago

Yeah worth mentioning this for context. Leaving open for future revision.