Last active
August 21, 2020 09:19
-
-
Save marcojanssen/50e6abff3151dea09d68 to your computer and use it in GitHub Desktop.
.zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/zsh-users/antigen.git ~/antigen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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