zsh
I use zsh with oh-my-zsh heavily.
August 19, 2024 · 93 words · 1 min read · tech, programming
setting up new zsh with oh my zsh
firs installing zsh involves
brew install zsh
While I don’t really trust and run randomly downloaded shell files. This one is quite painless.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
typical packages:
gitzsh-autosuggestionspoetryzsh-syntax-highlightingcommand-timepoetry
plugins=(git zsh-autosuggestions poetry zsh-syntax-highlighting command-time poetry)
problems
New lines ending with a highlighted percentage
This happens when the terminal will have to handle a partial output.
In my case it was a remote connection in tty and I was facing this error.
can be removed by unsetopt PROMPT_SP
a quote i like
Live a good life. If there are gods, and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. ― Marcus Aurelius