-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
87 lines (70 loc) · 2.49 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Path to oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
# Display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Show history timestamp in history
HIST_STAMPS="dd.mm.yyy"
plugins=(
git
rails
ruby
bundler
web-search
dirhistory
gitfast
git-extras
npm
colored-man-pages
colorize
command-not-found
history
battery
themes
docker
docker-compose
helm
aws
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
if [ -r $HOME/.rbenv/bin ] ; then
alias wp="webpack --watch --colors --progress"
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
fi
# Add user bin dir to path
export PATH="$HOME/bin:$PATH"
# Set Vim as default editor
export VISUAL=vim
export EDITOR="$VISUAL"
autoload -U compinit
compinit
if [ -z "$TMUX" ]; then
tmux attach -t default || tmux
tmux new -s default
fi
if [ -r /home/kevin/.local/bin/aws_zsh_completer.sh ] ; then
export PATH=/home/kevin/.local/bin/aws_zsh_completer.sh:$PATH
else
export PATH=/usr/local/aws/bin:$PATH
fi
if [ -r /usr/local/aws/bin/aws_zsh_completer.sh ] ; then
source /usr/local/aws/bin/aws_zsh_completer.sh
fi
autoload -U compinit
compinit
fpath=($fpath ~/.zsh/completion)
export PATH=/opt/:$PATH
# tabtab source for serverless package
# uninstall by removing these lines or running `tabtab uninstall serverless`
[[ -f /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh ]] && . /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh
# tabtab source for sls package
# uninstall by removing these lines or running `tabtab uninstall sls`
[[ -f /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh ]] && . /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh
# tabtab source for slss package
# uninstall by removing these lines or running `tabtab uninstall slss`
[[ -f /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/slss.zsh ]] && . /home/kevinwork/.nvm/versions/node/v8.11.3/lib/node_modules/serverless/node_modules/tabtab/.completions/slss.zsh