A custom Oh My Zsh theme that displays the current VTEX IO workspace and account directly in your terminal promptβno need to run vtex whoami every time.
- VTEX IO CLI β https://developers.vtex.com/docs/guides/vtex-io-documentation-vtex-io-cli-install
- Oh My Zsh β http://ohmyz.sh/
-
Copy the theme file into the Oh My Zsh theme directory:
cp vtex.zsh-theme ~/.oh-my-zsh/themes/vtex.zsh-theme -
Set the theme in your .zshrc:
ZSH_THEME="vtex" -
Set the theme in your .zshrc:
source ~/.zshrc
-
Works on macOS and Linux.
-
Automatically displays the workspace and account currently active in the VTEX IO CLI.
