1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Zsh autocompletion plugin.

This commit is contained in:
2019-12-17 09:47:47 +01:00
parent ae181ca728
commit 9220926d0e
3 changed files with 15 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -34,3 +34,6 @@
[submodule "vim/.vim/bundle/vim-fugitive"]
path = vim/.vim/pack/bundle/start/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git
[submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"]
path = zsh/.config/zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions/

View File

@@ -39,6 +39,17 @@ elif [[ -o interactive ]]; then
fi
unset keyfile
################
# Load plugins #
################
plugins=(zsh-autosuggestions/zsh-autosuggestions.zsh)
for plugin in "${plugins[@]}"; do
if [[ -f "$ZDOTDIR/plugins/$plugin" ]]; then
source "$ZDOTDIR/plugins/$plugin"
fi
done
bindkey -e
# zshrc aliases
alias ls='ls --color=auto'