Nov 8th, 2019 - written by Kimserey with . Emmure demo 2005 rar.
A new Minimal theme reduces visual clutter, while the Compact theme saves space by combining the title bar and tab bar. Where do I get it? Download the latest version here. ITerm2 Version 3 Released. Version 3 of iTerm2 is now out as a 'stable' build, meaning there are no known major bugs. What do I need to know? There are dozens of new. The Red Planet theme was created by ibrokemypie based on eliquious’s Red Planet Sublime Text theme. The Tango Adapted theme and its slightly less bright counterpart Tango Half Adapted were created by crowsonkb, based on iTerm2’s Tango Light theme. The Pro Light theme was adapted from the Pro theme by crowsonkb using her itermschemer tool. I've changed some other schemes and it works. I've delete those import-failed scheme so I can not recur the problem, I'm sorry. But I think shellbye's solution will work.
- The theme Sakura was created by 0xN0ri based on zdj iTerm 2 color scheme Urple. The Mirage theme was created by Tristan Remy and ported to iTerm2 by Gomah. The Rouge 2 theme was created by Josef Aidt and ported to iTerm2 by Sam Rose. The theme Tinacious Design was created by Tina Holly.
- The theme Sakura was created by 0xN0ri based on zdj iTerm 2 color scheme Urple. The Mirage theme was created by Tristan Remy and ported to iTerm2 by Gomah. The Rouge 2 theme was created by Josef Aidt and ported to iTerm2 by Sam Rose. The theme Tinacious Design was created by Tina Holly.
Few years ago I wrote a post about ConEmu, a better shell experience for Windows. I have been using it over the past four years while working on Windows. Recently I completely moved to Mac and on unix system we have better shell experience in general. Today we will see how we can setup
iTerm2
, with zsh
and Oh My Zsh
providing a way superior shell experience than ConEmu on Windows or even than the regular terminal.Install iTerm2
If we don’t have
brew
yet installed, we start by installing it:We then install
iTerm2
using brew
:Once we have iTerm2 installed, we can switch the default shell to
zsh
:We will now be using
zsh
by default.Now that we have iTerm2 and are using zsh by default, we can install
Oh My Zsh
, which is a framework managing zsh configuration.After the installation, we should already see the difference in term of theme as the default oh-my-zsh theme gets installed.
iTerm2 Features
Autocompletion
iTerm2 also comes with autocompletion, with zsh, we can also have autocomplete on the plugins specified. For example, if we have in
~/.zshrc
:We can start typing
git check
then tab, and we will have the following prompt:Split Panes
iTerm2 allows us to split the terminal in panel with
cmd + D
for vertical split and cmd + shift + D
for horizontal but when split, the inactive panels are dimmed which is annoying if we are using other windows to display a man page for example therefore we can remove the dimming by changing the appearance:Natural Text Editing
Another settings good to have is the make option and command keys behave just like in a text editor, allowing navigation per words or complete beginning or end of line. This can be done by setting the keys presets to natural text editing.
Install powerlevel10k
Now that we have iterm setup with zsh and we have discovered some of the nice feature provided, we can install
powerlevel10k
which is a zsh
plugin providing a powerline
(a bar with different information). It is highly customizable and can show the path, git status, time, etc…We start by downloading
powerlevel10k
into zsh
themes
:Then we can modify
~/.zshrc
and modify the ZSH_THEME
:Update: If you start from a fresh install, stop here and check the update following Roman comment.
Next we specify the
mode
which will give us fonts:And we can download the fonts from here. Open the font and install it on Mac then select it from:
Some extra settings can be added to make the prompt multiline:
And lastly set the directory length to two segments:
And now your prompt should look as such:
Iterm2 Themes
The content of the
~/.zshrc
should resemble to:And that concludes today’s post!
Conclusion
Today we saw how we could use iTerm2 and zsh with Oh My Zsh. We started by looking at how we could install it, setup its configuration, then we moved to installing Powerlevel10k, the powerline for zsh. This shell configuration helped me becoming more comfortable working with the terminal on Mac as it makes it very friendly and improved my workflow by making it quicker for me to program. I hope you like this post and I see you on the next one!
External Sources
Update
@romkatv commented on the post advising me to remove the Powerlevel9k configuration in order to display the wizard configuration for Powerlevel10k.
So if you aren’t coming from a fresh install, don’t add any powerlevel9k configuration and Powerlevel10k will display a configuration wizard to configure the preferred display.
Please enable JavaScript to view the comments powered by Disqus.Pro tools 8 mac. So, out of boredom, I decided to upgrade my shell and terminal to something closer to 2017, instead of living in the early 90s. Clearly I’e been using
bash
all these years - mostly on Ubuntu and lately on OSX. But I’ve always been lazy and complacent with the terminal. I’ve always wanted to set up fish
- Friendly Interactive SHell. for it’s git integration, and very rich interaction. Sure, all of this can be done on bash
or zsh
but I hate configuration, and combing hundreds of git repos for bashfiles
and find what works for me.While at
fish
, I also decided to upgrade the default Mac terminal
to iTerm2
. This led me to a journey through installing fonts all the way to picking up the theme that works for me. But again, no configuration to mess with.Installing fish
Since I have brew, I was able to simply do this
If you do not have brew, head over to fishshell.com for instructions on setting it up. They have MacPorts, Installer, and an executable.
Once installed, the default theme supports git repositories, in that, the prompt indicates the local repository state, has nice syntax highlighting on the command line, and typical things you’d expect from the shell of the 21st century.
You can see the prompt change, as well as a timestamp show up to the right of the window.
If you wish to make fish your default shell, add add
/usr/local/bin/fish
at the very top of /etc/shells
, and execute chsh -s /usr/local/bin/fish
. If not, then you can always type fish
in bash
.Installing omf
Given the richness of fish with themes and plugins, it’s best to use
omf
- Oh My Fish, which is more or less a package manager for fish.To install
omf
-Once
omf
is installed, checking out themes etc. becomes a breeze. To do so, type omf
on the prompt to see the options. Typing omf theme
will show a big list, and in order to see what these themes look like, head over here to preview them.I liked
bobthefish
, and installed it like so -You can always switch back to
default
by typing omf theme default
. You can install many themes and switch back and forth between them till you’re comfortable with one of them.However, this theme (and many others) uses fonts that would need to be installed.
Installing Powerline Patched Fonts
Feel free to remove the
fonts
directory.Installing iTerm2
Downloaded and installed iTerm2, which is super simple to do.
Take a look at the Font Book, and pick the powerline font of your choice. I like
Ubuntu Mono
. You can type powerline
in the little search textbox in Font Book to shorten the list. Once picked, set the font here -Restart iTerm2, and you should be all set!
Iterm2 Themes Dracula
Github integration
This image shows how the prompt changes as we make simple changes to a local git repo. I am using
bobthefish
theme. See the theme details on how the prompt indicates various states like locally committed but un-pushed changes, etc.As you can see, it is super helpful, with no configuration to get this going. This to me is one of the most useful and powerful features of
fish
.Iterm2 Colors
Now that you have
fish
and omf
set up, play with the many options and if you have never used it before, you’ll be surprised how modern and developer friendly this set up is. The depth of autocomplete going beyond just file names, auto-suggestion, history navigation, and syntax coloring makes working on the terminal so much productive and painless!