Default Prompt on MacOS is now %, not $#1877
Conversation
das-g
left a comment
There was a problem hiding this comment.
AFAIR, that change in the prompt sign is due to MacOS having changed from Bash as the default shell to zsh. I wonder whether any other parts of the tutorial need updating due to that.
c2216d3 to
1ab15e2
Compare
hey @das-g, so somewhat dauntingly the answer is probably yes. at the moment, most listings are split into two: "on windows, do this. on mac or linux, do that". and the prompt in the "mac or linux" section is a that feels like a big and painful change. do we really want to go ahead and do it? bearing in mind the only difference between mac and linux will be the prompt, not the commands? can we think of some more lightweight way to incorporate this change? |
Co-authored-by: Raphael Das Gupta <github.com@raphael.dasgupta.ch>
…ly confusing at this stage
9a0f03a to
e4ef334
Compare
|
i want to say, people have been following the tutorial just fine on macos for the several years now despite there being a |
|
options for (later? separate pr?) fixes to all listings
no perfect solution! wdyt? |
|
I was more worried that our current Linux/Mac commands might use bashisms (Bash-specific syntax or idioms) somewhere. If indeed people have followed the tutorial fine on Mac (and thus presumably zsh) that's probably not the case. Additional sections just for the different prompt are IMO not worth it, even if they were (or maybe are, as that should be amendable to (classically, i.e. non-LLM) automated editing, with —say— Vim, |
Update prompt section to reflect that zsh on mac now defaults to %
NB: