We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I recently added the vagrant-prompt plugin to the Oh-My-Zsh config in the ~/.zshrc file:
vagrant-prompt
~/.zshrc
plugins=(git zsh-nvm macos ruby rails bundler brew rake capistrano web-search vagrant vagrant-prompt)
Then added these ENV variables as well:
ZSH_THEME_VAGRANT_PROMPT_PREFIX="%{$fg_bold[grey]%}[" ZSH_THEME_VAGRANT_PROMPT_SUFFIX="%{$fg_bold[grey]%}]%{$reset_color%} " ZSH_THEME_VAGRANT_PROMPT_RUNNING="%{$fg_no_bold[green]%}●" ZSH_THEME_VAGRANT_PROMPT_POWEROFF="%{$fg_no_bold[red]%}●" ZSH_THEME_VAGRANT_PROMPT_SUSPENDED="%{$fg_no_bold[yellow]%}●" ZSH_THEME_VAGRANT_PROMPT_NOT_CREATED="%{$fg_no_bold[white]%}○"
And finally, added the prompt to my theme as stated here
Now my prompt shows the status of the VM at the end of the prompt but is is wrong:
running
suspended
It should show different status colors as for:
MacOS Sonoma 14.2.1 (23C71)
5.9
iTerm2
None
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I recently added the
vagrant-prompt
plugin to the Oh-My-Zsh config in the~/.zshrc
file:Then added these ENV variables as well:
And finally, added the prompt to my theme as stated here
Now my prompt shows the status of the VM at the end of the prompt but is is wrong:
running
for both running and not running state.suspended
state, it just do not considere it.Steps to reproduce
vagrant-prompt
plugin to the Oh-My-Zsh config in the~/.zshrc
file:Expected behavior
It should show different status colors as for:
Screenshots and recordings
OS / Linux distribution
MacOS Sonoma 14.2.1 (23C71)
Zsh version
5.9
Terminal emulator
iTerm2
If using WSL on Windows, which version of WSL
None
Additional context
No response
The text was updated successfully, but these errors were encountered: