
To use a plugin, add the name of the plugin in the ~/.zshrc file. Oh My Zsh has a vast list of awesome plugins. I use git-prompt via the global variable $GIT_PROMPT to show the status of the current Git repository when applicable. You can show the version of other programming languages as well, here is the list of available options.Īlso note that I customize the colors via $FG, see an explanation here. Note that I add jenv_prompt_info in line #31 to show the Java version that I’m currently using directly in the prompt. The gnzh theme is located by default in ~/.oh-my-zsh/themes/gnzh.zsh-theme. export ZSH = "/Users/cesarsv/.oh-my-zsh" # Set name of the theme to load - if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See ` ZSH_THEME = "gnzh" ` source $ZSH/oh-my-zsh.sh

In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh. The configuration file is located at ~/.zshrc.
#BEST ITERM2 THEME INSTALL#
To install Oh My Zsh, execute the following command in the terminal: 1 It offers a tons of themes, functions, helpers, plugins, and other handy features. This is an open-source and popular zsh configuration manager. I use Oh My Zsh, as a shell replacement for macOS. The second step is getting a better shell.

1Īnd the terminal for me is the bar where I go with this friend to drink and have a good time.Īs it is more enjoyable drinking with civilized friends in civilized places, 2 I prefer visiting a bar that is cozy and invites me to cheer. Personally, I treat my Unix shell as a very good friend.

#BEST ITERM2 THEME HOW TO#
It is almost impossible to become an outstanding software developer without knowing how to get the most out of the terminal. There is a common belief that top-class software developers can do their job without ever abandoning the terminal.
