/ tech

Oh my beautiful ZSH

When you have to look at it all day long, it should at least look good, right? Here's my current setup for my Terminal.

iTerm2

Not much more to say. Download & install it.

Oh-My-Zsh

With Oh-My-Zsh it's really easy to get to a good looking and fully featured terminal - but don't overload it with plugins which can make it really slow.

Execute the following command to install oh-my-zsh.

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

spaceship prompt 🚀

Spaceship is a minimalistic, powerful and extremely customizable “Oh My ZSH!” theme. It combines everything you may need for convenient work, without unnecessary complications, like a real spaceship.

https://git.io/spaceship

Use the following command to install spaceship:

curl -o - https://raw.githubusercontent.com/denysdovhan/spaceship-zsh-theme/master/install.zsh | zsh

After the installation, edit your ~/.zshrc file.

...
ZSH_THEME="spaceship-zsh-theme/spaceship"

# PROMPT
SPACESHIP_PROMPT_SYMBOL="➜"
SPACESHIP_PROMPT_ADD_NEWLINE=true
SPACESHIP_PROMPT_SEPARATE_LINE=true
SPACESHIP_PROMPT_PREFIXES_SHOW=true
SPACESHIP_PROMPT_SUFFIXES_SHOW=true
SPACESHIP_PROMPT_DEFAULT_PREFIX="via "
SPACESHIP_PROMPT_DEFAULT_SUFFIX=" "

# TIME
SPACESHIP_TIME_SHOW=true
SPACESHIP_TIME_PREFIX="at "
SPACESHIP_TIME_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"
SPACESHIP_TIME_FORMAT=false
SPACESHIP_TIME_12HR=true
SPACESHIP_TIME_COLOR="yellow"

# EXECUTION TIME
SPACESHIP_EXEC_TIME_SHOW="${SPACESHIP_EXEC_TIME_SHOW:=true}"
SPACESHIP_EXEC_TIME_PREFIX="${SPACESHIP_EXEC_TIME_PREFIX:="took "}"
SPACESHIP_EXEC_TIME_SUFFIX="${SPACESHIP_EXEC_TIME_SUFFIX:="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
SPACESHIP_EXEC_TIME_COLOR="${SPACESHIP_EXEC_TIME_COLOR:="yellow"}"
SPACESHIP_EXEC_TIME_THRESHOLD="${SPACESHIP_EXEC_TIME_THRESHOLD:=5000}"
SPACESHIP_EXEC_TIME_MS="${SPACESHIP_EXEC_TIME_MS:=false}"
...

Fira Coda Font

Fira Coda is a monospaced font with programming ligatures, meaning that you get beautiful arrows or comparison operators.

Checkout the GitHub Repo.

Alternatives: Source Code Pro, Noto Mono, Cousine, ... If you're looking for a font using Powerline, check out this repo here.

fira coda

Dracula Colors

Dark themes for ... almost everything. Check it out at draculatheme.com.

draculatheme

Screenshots

Git infos

zsh04

Execution time

zsh02

Ligatures

zsh03

fortune

zsh05