Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "$(prompt_agnoster_main)" instead of cool-looking prompt #113

Closed
ridhwaans opened this issue Jul 26, 2019 · 3 comments
Closed

Getting "$(prompt_agnoster_main)" instead of cool-looking prompt #113

ridhwaans opened this issue Jul 26, 2019 · 3 comments

Comments

@ridhwaans
Copy link

Using Mac, antigen, iTerm2
In .zshrc, the theme doesnt work with these lines

source $HOME/.zsh/bundle/bin/antigen.zsh
antigen theme https://github.com/agnoster/agnoster-zsh-theme

example output

Last login: Thu Jul 25 22:26:21 on ttys000
$(prompt_agnoster_main) cd ~
$(prompt_agnoster_main)

but changing these lines, the theme works

source $HOME/.zsh/bundle/bin/antigen.zsh
antigen use oh-my-zsh # Load the oh-my-zsh's library.
antigen theme agnoster  

does the theme not work without loading ohmyzsh

@qoomon
Copy link

qoomon commented Aug 7, 2019

See my PR #114 for the simple fix

@apjanke
Copy link
Collaborator

apjanke commented Jan 2, 2020

Do you have setopt promptsubst enabled? You need that.

@apjanke apjanke changed the title Getting $(prompt_agnoster_main) Getting "$(prompt_agnoster_main)" instead of cool-looking prompt Jan 3, 2020
@apjanke
Copy link
Collaborator

apjanke commented Jan 3, 2020

Closing as dupe of #35. Let's take the discussion over there and decide which fix approach is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants