2021-03-28 15:45:19 +00:00
|
|
|
# Plugins
|
2021-02-18 21:04:43 +00:00
|
|
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
2020-12-13 04:27:56 +00:00
|
|
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
2021-02-18 21:04:43 +00:00
|
|
|
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
|
2021-03-28 15:45:19 +00:00
|
|
|
|
|
|
|
# Bind arrow keys
|
2021-02-18 21:04:43 +00:00
|
|
|
bindkey '^[[A' history-substring-search-up
|
|
|
|
bindkey '^[[B' history-substring-search-down
|
2021-03-28 15:45:19 +00:00
|
|
|
|
|
|
|
# Powerline
|
2020-12-13 04:27:56 +00:00
|
|
|
powerline-daemon -q
|
|
|
|
source /usr/lib/python3.9/site-packages/powerline/bindings/zsh/powerline.zsh
|
2021-03-28 15:45:19 +00:00
|
|
|
|
|
|
|
# History
|
2021-03-31 17:13:11 +00:00
|
|
|
SAVEHIST=1000000
|
|
|
|
HISTFILE=~/.zsh_history
|
2021-03-28 15:45:19 +00:00
|
|
|
setopt INC_APPEND_HISTORY
|
2021-04-19 16:23:26 +00:00
|
|
|
|
|
|
|
# fzf
|
|
|
|
source /usr/share/fzf/key-bindings.zsh
|
|
|
|
source /usr/share/fzf/completion.zsh
|
|
|
|
|