-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
31 lines (25 loc) · 894 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
# Download Znap, if it's not there yet.
[[ -f ~/.znap/zsh-snap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git ~/.znap/zsh-snap
source ~/.znap/zsh-snap/znap.zsh # Start Znap
znap eval starship 'starship init zsh --print-full-init'
znap prompt
zstyle ':autocomplete:*' widget-style menu-select
zstyle ':autocomplete:*' add-space \
executables aliases functions builtins reserved-words commands
znap source marlonrichert/zsh-autocomplete
znap source zsh-users/zsh-autosuggestions
znap source zsh-users/zsh-syntax-highlighting
znap source lukechilds/zsh-nvm
znap source Tarrasch/zsh-autoenv
znap source se-jaeger/zsh-activate-py-environment
zstyle ':autocomplete:*' insert-unambiguous no
AUTOENV_EDITOR=nvim
ZSH_AUTOSUGGEST_STRATEGY=(
history
completion
)
bindkey -r '^@'
bindkey '^@' autosuggest-accept
setopt HIST_IGNORE_DUPS