151
|
1 source ~/.zsh/colors.zsh
|
|
2 source ~/.zsh/setopt.zsh
|
|
3 source ~/.zsh/exports.zsh
|
|
4 source ~/.zsh/prompt.zsh
|
|
5 source ~/.zsh/completion.zsh
|
|
6 source ~/.zsh/aliases.zsh
|
|
7 source ~/.zsh/bindkeys.zsh
|
|
8 source ~/.zsh/history.zsh
|
|
9 source ~/.zsh/zsh_hooks.zsh
|
86
|
10
|
151
|
11 # Plugins
|
|
12 source ~/.fzf.zsh
|
|
13 source ~/.zsh/zsh-history-substring-search.zsh
|
|
14 source ~/.zsh/z.sh
|
156
|
15 source ~/.zsh/plugins/zsh-autosuggestions/autosuggestions.zsh
|
157
|
16 source ~/.zsh/plugins/k/k.sh
|
0
|
17
|
151
|
18 precmd() {
|
|
19 if [[ -n "$TMUX" ]]; then
|
152
|
20 export TERM=screen-256color
|
151
|
21 tmux setenv "$(tmux display -p 'TMUX_PWD_#D')" "$PWD"
|
106
|
22 fi
|
|
23 }
|
152
|
24
|
156
|
25 # Enable autosuggestions automatically
|
|
26 zle-line-init() {
|
|
27 zle autosuggest-start
|
|
28 }
|
|
29 zle -N zle-line-init
|
|
30
|
|
31
|
152
|
32 [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|