enable zsh autocorrdction

D4VID 5 years ago
parent 4a02a80e76
commit 5fb8fe3d3f

@ -37,7 +37,7 @@ ZSH_THEME="intheloop"
# DISABLE_UPDATE_PROMPT="true" # DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days). # Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13 export UPDATE_ZSH_DAYS=21
# Uncomment the following line if pasting URLs and other text is messed up. # Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true # DISABLE_MAGIC_FUNCTIONS=true
@ -49,7 +49,7 @@ ZSH_THEME="intheloop"
# DISABLE_AUTO_TITLE="true" # DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction. # Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true" ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion. # Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true" # COMPLETION_WAITING_DOTS="true"
@ -81,7 +81,8 @@ source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#666666,underline" #ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#666666,underline"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"
@ -109,15 +110,15 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#666666,underline"
# #
export EDITOR='nvim' export EDITOR='nvim'
export TERM=screen-256color
if [ -f ~/.config/shell_aliases ]; then if [ -f ~/.shell_aliases ]; then
source ~/.config/shell_aliases source ~/.shell_aliases
fi fi
PATH=$PATH:$HOME/.local/bin # setopt GLOBdots
# setopt GLOBdots # wildcard match files starting with .
eval $(thefuck --alias) eval $(thefuck --alias)
bindkey '^ ' autosuggest-accept # accept suggestion with ctrl-space bindkey '^ ' autosuggest-accept # accept suggestion with ctrl-space

Loading…
Cancel
Save