-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
67 lines (43 loc) · 1.05 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
ZSH=~/.zsh
unsetopt CORRECT
unsetopt CORRECT_ALL
setopt MULTIOS
unsetopt CLOBBER
setopt INTERACTIVE_COMMENTS
# Directory navigation
setopt AUTO_CD
setopt AUTO_PUSHD
setopt PUSHD_MINUS
setopt PUSHD_SILENT
# Default editor
export EDITOR='vim'
export VISUAL='vim'
export LESS="-RIM"
if type dircolors &>/dev/null; then
eval `dircolors -b`
fi
WORDCHARS='_-'
export PATH=~/bin:$PATH
source $ZSH/development.sh
source $ZSH/aliases.zsh
source $ZSH/cdup.zsh
source $ZSH/completion.zsh
if type fasd &>/dev/null; then
source $ZSH/fasd.zsh
fi
source $ZSH/history.zsh
source $ZSH/keys.zsh
source $ZSH/prompt.zsh
pr[defaultUser]=coates
source $ZSH/expand-multiple-dots.zsh
source $ZSH/tab-on-empty-line-shows-files.zsh
source $ZSH/tmux.zsh
source $ZSH/zsh-history-substring-search.zsh
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
source $ZSH/ssh-agent.zsh
if type fzf &> /dev/null; then
source $ZSH/fzf.zsh
fi
# Sourcing this too early causes it to stop working. Not sure why.
source $ZSH/edit-command-line.zsh