-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
83 lines (66 loc) · 1.69 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
# git clone git://github.com/zsh-users/antigen.git ~/.antigen/antigen
# start_time="$(date +%s)"
DISABLE_AUTO_UPDATE="true"
export RBENV_ROOT="$HOME/.rbenv"
# if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
source ~/.antigen/antigen/antigen.zsh
# customize for your own
ZSHRC_LOCAL="$HOME/.zshrc_local"
ALIAS_LOCAL="$HOME/.alias_local"
source "$HOME/.alias"
if [[ -f $ZSHRC_LOCAL ]]
then
source $ZSHRC_LOCAL
fi
if [[ -f $ALIAS_LOCAL ]]
then
source $ALIAS_LOCAL
fi
# default bindings for zsh-users/zsh-history-substring-search
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
bindkey -M emacs '^P' history-substring-search-up
bindkey -M emacs '^N' history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
antigen use oh-my-zsh
antigen bundles <<EOBUNDLES
brew
brew-cask
bundler
capistrano
catimg
colored-man
command-not-found
extract
gem
git
git-extras
bobthecow/git-flow-completion
history
npm
python
rails
rbenv
rsync
urltools
vundle
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-history-substring-search
zsh-users/zsh-completions
EOBUNDLES
# antigen theme https://gist.github.com/3750104.git agnoster
# antigen theme fino
# antigen theme suvash
# antigen themem murilasso
# antigen themem crunch
# antigen themem gnzh
antigen theme https://gist.github.com/leopku/75435e606128443a64f7 fino-simplify
antigen apply
## Functions
add_auth_key () {
ssh-copy-id $@
}
# end_time="$(date +%s)"
# echo .zshrc: $((end_time - start_time)) seconds