I'm using iTerm2 with Solarized Dark theme. My ZSH Theme is based on the Powerline one. iTerm2 has better color fidelity than the built in Terminal, so your themes will look better. Open iTerm2 > Profiles > Edit Profiles > Colors > Color Presets Drop Down > Import. The Schemes folder contains all the color scheme files they end with. Download the iTerm2-color-schemes as a zip file and extract it. Since macOS X Catalina (10.15) the default shell uses Z shell aka zsh. A protip by ducknorris about shell, zsh, mac os x, and iterm2. Different customisations for iterm Source: Jazz up zsh terminal. Now your prompt with git info should look like the following. iTerm2 is a terminal replacement that works for newer version of macOS. ZSHTHEME'powerlevel10k/powerlevel10k' Update your changes by running the command source /. However, the way that git_prompt_info will show us the information is defined by the following code snippet ZSH_THEME_GIT_PROMPT_PREFIX="%)" 5th part: “ $(git_prompt_info)” indicates that the basic info of git SCM of the current directory will show just after a white space from the current directory like the following: Replace the value 'robbyrussell' with a theme you prefer from the wiki. Now open ~.zshrc file and put the following line ZSH_THEME="mrp"ĥ. zshrc file in your favorite editor and find the field called ZSHTHEME. zsh-theme (in my case I named the file as mrp.zsh-theme) and copy-paste the content of robbyrussell.zsh-theme to our customer. iterm2 (or any other terminal emulator that supports 24 bit color or true color) installedĪfter doing the all the things in previous prerequisite section go to the following directory cd.So I have tried modifying it to my likings. Don’t get me wrong, many of you may need that information for your workflow but in my case, I don’t need that.Īlthough I like the simple approach I want something that I can tell that "this is mine". Like the full path of my current directory. I liked the look and feel, it doesn’t bombard me with a bunch of information that according to my preferences I don’t need.
0 Comments
Leave a Reply. |