arialdomartini / oh-my-git

An opinionated git prompt for bash and zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install on Mac, iTerm2, oh-my-zsh

amorfis opened this issue · comments

I followed the instructions, but after adding

source "$HOME/.antigen/antigen.zsh"

antigen-use oh-my-zsh
antigen-bundle arialdomartini/oh-my-git
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style

antigen-apply

to my ~/.zshrc, this is what my terminal says:

/Users/amorfis/.zshrc:98: command not found: antigen-bundle
/Users/amorfis/.zshrc:101: command not found: antigen-apply
zsh: command not found: build_prompt

Surprisingly, it works when I just run the commands one after another by hand in the terminal.

just remove all the dashes:

antigen use oh-my-zsh
antigen bundle arialdomartini/oh-my-git
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style

antigen apply

also, a quick hint: change fonts in iterm2 > profile -> text, it took me some time to realize this missing step