-
-
Save aboutandre/fbe99baac05744fda23ef722fc8d6f08 to your computer and use it in GitHub Desktop.
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
Get the iTerm color settings
Just save it somewhere and open the file(s). The color settings will be imported into iTerm2. Apply them in iTerm through iTerm -> preferences -> profiles -> colors -> load presets. You can create a different profile, other than Default if you wish to do so.
More info here: https://github.com/robbyrussell/oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
When the installation is done, edit ~/.zshrc
and set ZSH_THEME="agnoster"
- Meslo (the one in the screenshot). Click "view raw" to download the font.
- Others @ powerline fonts
Open the downloaded font and press "Install Font".
Set this font in iTerm2 (14px is my personal preference) (iTerm -> preferences -> profiles -> text).
- Regular Font -> "Change Font"
- Non-ASCII Font -> "Change Font"
Restart iTerm2 for all changes to take effect.
Things like
- auto suggestions
- word jumping with arrow keys
- shorter prompt style
can be found in the section below.
Just follow these steps: https://github.com/tarruda/zsh-autosuggestions#oh-my-zsh
By default, word jumps (options + → or ←) do not work. You can make this work by going to iTerm - preferences - Keys.
Under global shortcut keys, add the following keyboard shortcuts:
⌥→
Send Escape Sequence
f
⌥←
Send Escape Sequence
b
By default, your prompt will now show “user@hostname” in the prompt. This will make your prompt rather bloated. Optionally set DEFAULT_USER
in ~/.zshrc
to your regular username (these must match) to hide the “user@hostname” info when you’re logged in as yourself on your local machine. You can check your username value by executing whoami
in the terminal.