2018-05-28 01:11:16 +00:00
|
|
|
# add ~/bin & /usr/local/bin to $PATH
|
|
|
|
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
|
|
|
|
|
|
|
# location of oh-my-zsh installation
|
2016-01-23 00:58:21 +00:00
|
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# theme
|
|
|
|
ZSH_THEME="ys"
|
2016-01-23 00:58:21 +00:00
|
|
|
|
2018-05-28 01:11:16 +00:00
|
|
|
# automatically update oh-my-zsh without being prompted
|
2016-10-21 02:39:28 +00:00
|
|
|
DISABLE_UPDATE_PROMPT=true
|
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# plugins
|
2018-05-28 01:11:16 +00:00
|
|
|
plugins=(
|
|
|
|
common-aliases
|
|
|
|
git
|
|
|
|
sudo
|
|
|
|
gpg-agent
|
|
|
|
ssh-agent
|
|
|
|
docker
|
|
|
|
)
|
2016-01-23 00:58:21 +00:00
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# zsh-completions
|
2016-01-23 00:58:21 +00:00
|
|
|
autoload -U compinit && compinit
|
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# source omz
|
2016-01-23 00:58:21 +00:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
2017-02-19 23:59:27 +00:00
|
|
|
|
|
|
|
# increase zsh history
|
|
|
|
export HISTSIZE=1000000000
|
|
|
|
export SAVEHIST=$HISTSIZE
|
|
|
|
setopt EXTENDED_HISTORY
|
2017-03-26 04:04:52 +00:00
|
|
|
|
|
|
|
# reduce linux syscalls
|
|
|
|
export TZ=:/etc/localtime
|
2018-05-28 01:11:16 +00:00
|
|
|
|
|
|
|
# ensure system is aware of browser/editor preference
|
|
|
|
export BROWSER="firefox-nightly"
|
|
|
|
export EDITOR="nvim"
|