2016-01-23 00:58:21 +00:00
|
|
|
# Path to your oh-my-zsh installation.
|
|
|
|
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
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# disable omz updates
|
2016-10-21 02:39:28 +00:00
|
|
|
DISABLE_UPDATE_PROMPT=true
|
|
|
|
DISABLE_AUTO_UPDATE=true
|
|
|
|
|
2016-11-21 20:47:18 +00:00
|
|
|
# plugins
|
2018-01-15 00:11:22 +00:00
|
|
|
plugins=(common-aliases git sudo gpg-agent ssh-agent)
|
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
|
|
|
# add ~/bin and /usr/local/bin to $PATH
|
2016-01-23 00:58:21 +00:00
|
|
|
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
2016-04-23 01:53:14 +00:00
|
|
|
|
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
|