-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
33 lines (25 loc) · 770 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
# shellcheck shell=sh
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
autoload -z edit-command-line
zle -N edit-command-line
fpath=(
$HOME/.asdf/completions
$HOME/.zsh/bundle/zsh-completions/src
$HOME/.zsh/functions
$fpath
)
autoload -Uz compinit && compinit -i
bindkey -e
bindkey "^X^E" edit-command-line
bindkey '^[[Z' reverse-menu-complete
. "$HOME/.zsh/bundle/zsh-autosuggestions/zsh-autosuggestions.zsh"
. "$HOME/.zsh/bundle/zsh-history-substring-search/zsh-history-substring-search.zsh"
. "$HOME/.zsh/bundle/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
for rcfile in "$HOME/.zsh/rc.d"/*.zsh; do
. "$rcfile"
done
path=(.git/safe/../../bin $path)
if [ -r "$HOME/.zshrc.local" ]; then
. "$HOME/.zshrc.local"
fi