Why do I have to mkdir and curl every time to use this
thejoel12 opened this issue · 4 comments
Novice here - but why do I have to reinstall the script each time I use it. Am I doing something incorrectly when I install it?
I have no idea! Can't really help you out without more information about how you're installing it or how you're using it 😬
Ah, that's much better — your screenshot covers everything I need to give you an answer 👍
When I saw zsh
I was about to say something like "and you call yourself a novice 😠" but (TIL) Apple changed the default shell from /bin/bash
to /bin/zsh
😢:
macOS Catalina, released in October 2019, adopted Zsh as the default shell, replacing Bash.
In short, then, run through the "installation" one more time, and wherever you see ~/.bashrc
, use ~/.zshrc
instead (i.e., at the end of the printf
and source
commands).
Please let me know if that works, and I'll update the README with instructions about Zsh vs. Bash.
Btw., in case the suggestion above doesn't work, the only reinstall step that you need to run before each use is the source ~/.bashrc
command (which is something Bash does when starting up; but since you're using Zsh, it ignores ~/.bashrc
and tries to source ~/.zshrc
, to no avail).
Yup that was it. Thanks!