docs(zsh): add comments to .zshrc

This commit is contained in:
George Rawlinson 2018-05-28 13:11:16 +12:00
parent 0a3da1598a
commit 358ef2ac0f

View file

@ -1,22 +1,28 @@
# Path to your oh-my-zsh installation. # add ~/bin & /usr/local/bin to $PATH
export PATH=$HOME/bin:/usr/local/bin:$PATH
# location of oh-my-zsh installation
export ZSH=$HOME/.oh-my-zsh export ZSH=$HOME/.oh-my-zsh
# theme # theme
ZSH_THEME="ys" ZSH_THEME="ys"
# disable omz updates # automatically update oh-my-zsh without being prompted
DISABLE_UPDATE_PROMPT=true DISABLE_UPDATE_PROMPT=true
DISABLE_AUTO_UPDATE=true
# plugins # plugins
plugins=(common-aliases git sudo gpg-agent ssh-agent) plugins=(
common-aliases
git
sudo
gpg-agent
ssh-agent
docker
)
# zsh-completions # zsh-completions
autoload -U compinit && compinit autoload -U compinit && compinit
# add ~/bin and /usr/local/bin to $PATH
export PATH=$HOME/bin:/usr/local/bin:$PATH
# source omz # source omz
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -27,3 +33,7 @@ setopt EXTENDED_HISTORY
# reduce linux syscalls # reduce linux syscalls
export TZ=:/etc/localtime export TZ=:/etc/localtime
# ensure system is aware of browser/editor preference
export BROWSER="firefox-nightly"
export EDITOR="nvim"