dotfiles/zsh/.zshrc

40 lines
705 B
Bash
Raw Normal View History

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
# 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
# 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
# zsh-completions
2016-01-23 00:58:21 +00:00
autoload -U compinit && compinit
# source omz
2016-01-23 00:58:21 +00:00
source $ZSH/oh-my-zsh.sh
# increase zsh history
export HISTSIZE=1000000000
export SAVEHIST=$HISTSIZE
setopt EXTENDED_HISTORY
# 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"