-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathzshrc
37 lines (27 loc) · 1.09 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
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="myagnoster"
# /Users/adnan/.oh-my-zsh/themes/juanghurtado.zsh-theme
# /Users/adnan/.oh-my-zsh/themes/af-magic.zsh-theme
# /Users/adnan/.oh-my-zsh/themes/bureau.zsh-theme
plugins=(git gitfast history zeus ssh-agent bundler zsh-syntax-highlighting history-substring-search brew)
source $ZSH/oh-my-zsh.sh
export PATH=$HOME/bin:/usr/local/bin:$PATH
export EDITOR='vim'
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
bindkey -v
bindkey '^r' history-incremental-search-backward
bindkey '^j' vi-cmd-mode
bindkey '^a' beginning-of-line
bindkey '^e' end-of-line
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
alias vi=vim
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
PATH=/usr/local/bin:$PATH
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