docs(zsh): add comments to .zshrc
This commit is contained in:
parent
0a3da1598a
commit
358ef2ac0f
1 changed files with 17 additions and 7 deletions
24
zsh/.zshrc
24
zsh/.zshrc
|
@ -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
|
||||
|
||||
# theme
|
||||
ZSH_THEME="ys"
|
||||
|
||||
# disable omz updates
|
||||
# automatically update oh-my-zsh without being prompted
|
||||
DISABLE_UPDATE_PROMPT=true
|
||||
DISABLE_AUTO_UPDATE=true
|
||||
|
||||
# plugins
|
||||
plugins=(common-aliases git sudo gpg-agent ssh-agent)
|
||||
plugins=(
|
||||
common-aliases
|
||||
git
|
||||
sudo
|
||||
gpg-agent
|
||||
ssh-agent
|
||||
docker
|
||||
)
|
||||
|
||||
# zsh-completions
|
||||
autoload -U compinit && compinit
|
||||
|
||||
# add ~/bin and /usr/local/bin to $PATH
|
||||
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# source omz
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
@ -27,3 +33,7 @@ setopt EXTENDED_HISTORY
|
|||
|
||||
# reduce linux syscalls
|
||||
export TZ=:/etc/localtime
|
||||
|
||||
# ensure system is aware of browser/editor preference
|
||||
export BROWSER="firefox-nightly"
|
||||
export EDITOR="nvim"
|
||||
|
|
Loading…
Reference in a new issue