Skip to content

Instantly share code, notes, and snippets.

@marcojanssen
Last active August 21, 2020 09:19
Show Gist options
  • Save marcojanssen/50e6abff3151dea09d68 to your computer and use it in GitHub Desktop.
Save marcojanssen/50e6abff3151dea09d68 to your computer and use it in GitHub Desktop.
.zshrc
sudo apt install zsh
git clone https://github.com/zsh-users/antigen.git ~/antigen
source ~/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle command-not-found
antigen bundle composer
antigen bundle docker
antigen bundle docker-compose
antigen bundle git
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
# Load the theme.
antigen theme denysdovhan/spaceship-prompt
# Tell antigen that you're done.
antigen apply
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
alias composer="docker run --rm --interactive --tty --volume $PWD:/app composer"
sudo apt install fonts-powerline
sudo chsh -s $(which zsh) $(whoami)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment