-
Notifications
You must be signed in to change notification settings - Fork 0
/
_zshrc
60 lines (48 loc) · 1.35 KB
/
_zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="blinks"
DISABLE_AUTO_UPDATE="true"
COMPLETION_WAITING_DOTS="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
# PATH
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/X11/bin:/usr/games
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
unamestr=`uname`
plugins=(
git
git-extras
python
pip
fasd
docker
docker-compose
aws
extract
dirhistory
history-substring-search
)
if [[ "$unamestr" == 'Linux' ]]; then
plugins=(
debian
)
elif [[ "$unamestr" == 'Darwin' ]]; then
plugins+=(
brew
brew-cask
)
fi
source $ZSH/oh-my-zsh.sh
# Fix for .. completion
zstyle ':completion:*' special-dirs true
alias tmux="TERM=screen-256color-bce tmux"
#alias vim="/Applications/MacVim.app/Contents/MacOS/Vim"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# use .localrc for settings specific to one system
[[ -f $HOME/.zshrc.local ]] && . $HOME/.zshrc.local