-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshrc
28 lines (23 loc) · 655 Bytes
/
.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
# Source machine-local ZSH config
if [[ -s "$HOME/.zshrc.local" ]]; then
source "$HOME/.zshrc.local"
fi
# Source Prezto
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Source FZF
if [[ -s "/usr/local/opt/fzf/shell/key-bindings.zsh" ]]; then
source "$HOME/.zshrc.fzf"
source "/usr/local/opt/fzf/shell/completion.zsh"
source "/usr/local/opt/fzf/shell/key-bindings.zsh"
fi
if uname -a | grep -q Darwin; then
source "$HOME/.zshrc.mac"
fi
# ZSH setting overrides
# Use 'v' to enter editor
bindkey -M vicmd v edit-command-line
alias vim='nvim'
export VISUAL='nvim'
export EDITOR='nvim'