-
Notifications
You must be signed in to change notification settings - Fork 12
/
.zshrc
39 lines (30 loc) · 959 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
29
30
31
32
33
34
35
36
37
38
39
# ~/.zshrc: executed by zsh(1) for non-login shells.
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.zsh_aliases, instead of adding them here directly.
# See /usr/share/doc/zsh-doc/examples in the zsh-doc package.
if [ -f ~/.aliasesrc ]; then
. ~/.aliasesrc
fi
if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases
fi
# Includes function definitions.
if [ -f ~/.functionsrc ]; then
. ~/.functionsrc
fi
# Includes common shell exports
if [ -f ~/.exportsrc ]; then
. ~/.exportsrc
fi
# Load private secret settings.
if [ -f ~/.secrets ]; then
. ~/.secrets
fi
# Controls which default set of key bindings is used.
set -o vi
# Allows a reverse history search in vi-mode.
# https://unix.stackexchange.com/q/44115/21471
bindkey "^R" history-incremental-search-backward
# Installs Shell Integration for iTerm2.
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"