Add newline to Oh My ZSH Theme

I was actually searching for the same answer. But my needs was a little more specific since I only wanted to add a newline in the agnoster theme, the one I’m using now. In my research, I find a lot of forked themes that already do it, but I thought that this was an overkill …

Read more

Unable to have Bash-like C-x-e in Zsh

I’m using it with VIM mode. Basically ESC-v (or simply v if already in command mode) opens the terminal. It is setup by: autoload -U edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line Here is how to setup it in emacs mode: autoload edit-command-line zle -N edit-command-line bindkey ‘^Xe’ edit-command-line Use ‘bindkey -e’ to …

Read more

How can I run two isolated installations of Homebrew?

Install Homebrew natively on Apple Silicon (will install to /opt/homebrew by default): /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” Install Intel-emulated Homebrew (will install to /usr/local by default): arch –x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” If you haven’t yet installed Rosetta 2, you’ll need to run softwareupdate –install-rosetta first. Create an alias for Intel homebrew. I’m calling …

Read more