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

zsh #34

Closed
ratmav opened this issue Oct 8, 2019 · 2 comments
Closed

zsh #34

ratmav opened this issue Oct 8, 2019 · 2 comments

Comments

@ratmav
Copy link
Owner

ratmav commented Oct 8, 2019

after upgrading to macos catalina, i see this:

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
[ccuming@ccuming ~]$

thrilling. ok, so this means that i need to run the chsh command, then migrate my bash configs to zsh, then script the zsh setup. a stretch goal is to take a look at oh-my-zsh.

this is kind of a pain (bash has "just worked" for me so far), but my understanding is that zsh is just the interpreter, and i can still use bash as a scripting language (for the most part). apple has more info here.

this also means that it's probably worth it on linux (centos stream) to switch to zsh to reuse code.

@ratmav
Copy link
Owner Author

ratmav commented Oct 8, 2019

saw here that using the #!/bin/sh shebang should enforce cross-shell compatibility. neat. will make that change.

@ratmav
Copy link
Owner Author

ratmav commented Dec 11, 2019

lol i just decided to use homebrew to install a current version of bash.

@ratmav ratmav closed this as completed Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant