Change autocomplete strategy
This commit is contained in:
parent
44e38eb6c9
commit
dfcd3eb18b
2
arch.zsh
Normal file
2
arch.zsh
Normal file
@ -0,0 +1,2 @@
|
||||
# Arch specific config options
|
||||
source "/usr/share/doc/pkgfile/command-not-found.zsh"
|
5
init.zsh
5
init.zsh
@ -135,6 +135,8 @@ bindkey -M viins "^f" sudo-command-line
|
||||
|
||||
# Autosuggestions
|
||||
load_plugin zsh-autosuggestions
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||
bindkey '^ ' autosuggest-accept
|
||||
|
||||
# Fancy prompt (starship)
|
||||
eval "$(starship init zsh)"
|
||||
@ -179,6 +181,9 @@ fi
|
||||
[ -v ZSH_BOOKMARK_LS ] || ZSH_BOOKMARK_LS=true
|
||||
source "${ZSH_CONFIG_DIR}/bookmark.zsh"
|
||||
|
||||
# Platform specific stuff
|
||||
[ -f /usr/bin/pacman ] && source "${ZSH_CONFIG_DIR}/arch.zsh"
|
||||
|
||||
__ZSH_LOCAL_FILE="${ZSH_CONFIG_DIR}/local.zsh"
|
||||
[ -e "${__ZSH_LOCAL_FILE}" ] && source "${__ZSH_LOCAL_FILE}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user