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
|
0
|
16
|
151
|
17 precmd() {
|
|
18 if [[ -n "$TMUX" ]]; then
|
152
|
19 export TERM=screen-256color
|
151
|
20 tmux setenv "$(tmux display -p 'TMUX_PWD_#D')" "$PWD"
|
106
|
21 fi
|
|
22 }
|
152
|
23
|
156
|
24 # Enable autosuggestions automatically
|
|
25 zle-line-init() {
|
|
26 zle autosuggest-start
|
|
27 }
|
|
28 zle -N zle-line-init
|
|
29
|
|
30
|
152
|
31 [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|