Hacker News new | ask | show | jobs
by antocv 4375 days ago
> Typing in long commands in the Mac OS X terminal and then them wrapping weirdly.

For all people who dont use Mac OS X:

This happens because your PS1 is wrongly set and bash cant calculate correctly the length left of your line. Try it out, by going back to default with no colors and crap and see how long it goes.

For mac os x users. The above wont help, dont even try it.

1 comments

I found the solution to bash problems was to move to zsh. I did that almost 10 years ago and haven't regretted the decision.
I switched to zsh for a few hours once, but it broke TRAMP in Emacs. There is probably a work around...
Can you suggest an intro guide to zsh for former bashers?