-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
52 lines (41 loc) · 1.15 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
source $HOME/antigen/bin/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
antigen bundle git
antigen bundle bundler
antigen bundle osx
antigen bundle rake
antigen bundle ruby
antigen bundle rbenv
antigen bundle rails
antigen bundle docker-compose
antigen bundle docker-machine
antigen bundle docker
antigen bundle node
antigen bundle nvm
antigen bundle rbenv
antigen bundle joshskidmore/zsh-fzf-history-search
antigen bundle zsh-users/zsh-autosuggestions
# Load the theme.
antigen theme robbyrussell
# Tell Antigen that you're done.
antigen apply
alias vim="nvim"
alias vimdiff="nvim -d"
alias serve="ruby -run -e httpd . -p 9090"
alias ba='bundle add'
alias be='bundle exec'
alias bi='bundle install'
alias br='bundle remove'
export TERM="xterm-256color"
export OC_EDITOR=nvim
# Personal environmental variables
if [[ -a ~/.localrc ]]
then
source ~/.localrc
fi
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
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/vault vault