Running iTerm2 with oh-my-zsh and Spaceship-zsh-theme.
Another alternative is Hyper, it can run the same config and looks basically the same.
The color scheme is iTerm2 - Snazzy for iTerm2 and the font is Fira Code
The bottom row is from tmux
. The pane shows which process is running and which folder you are currently in
.aliases
- All my own aliases, all git-aliases is supplied byoh-my-zsh/wiki/git
.functions
- bash-functions, called by aliases.tmux.conf
- configuration fortmux
.vimrc
- Myvim
configuration..zshenv
- All environment variables exported here..zshrc
- Most of thezsh
-config, sourcing.aliases
and.functions
If you are on Windows 10 I recommend installing bash on Windows/WSL and using bash
through either Hyper or cmder. Through bash
you can install zsh
and run this config.
1 . Download and install latest beta from download@iTerm2 (Only for macOS)
2 . Install zsh
according to these instructions: installing zsh
3 . Install oh-my-zsh
, copy paste one of these commands:
curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
4 . Download the iTerm2 Color Scheme files from this repository and save anywhere on your computer: iterm2-snazzy
5 . In iTerm2, go to Preferences > Profiles
and create a new profile by pressing +
in bottom left corner or edit the default profile.
6 . Select your profile and go to the Colors
-tab, in the bottom right there is a dropdown with the text Color Presets.... Click it and then choose Import
. Find your downloaded color scheme and import it, then select it afterwards in the dropdown.
7 . Install the spaceship-zsh-theme
with npm and follow instructions in the terminal. If you get instructions or warnings/errors follow them to properly install:
npm install -g spaceship-zsh-theme
8 . Reload the .zshrc
by running. Everytime you make a change in .zshrc
you have to source the file so it reloads. This can be done with either .
or source
:
. ~/.zshrc
10 . I also have two extra plugins installed: zsh-syntax-highlighting
and zsh-autosuggestions
. You can either install them or remove the lines from .zshrc
that includes them.
To merge the title bar with the background, just change the Tab Color
to the same as the background color:
I have added padding to all sides which you can do under Advanced
in settings. Just search for margin
and change Height of top and botton margins in terminal spaces
and Width of left and right margins in terminal spaces