ZSH Autosuggestions plugin.

This commit is contained in:
2021-04-03 17:01:19 +05:00
parent 4218c6b8b6
commit 858db76ad6
6 changed files with 38 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
# Load enabled apps.
for app in ${ENABLED_APPS[@]}; do
if [ ! -f "${CONFIG_PATH}/zsh/apps/${app}.app.zsh" ]; then
error 0 "Application '${app}' doesn't exist"
else
source "${CONFIG_PATH}/zsh/apps/${app}.app.zsh"
# chpwd injecting.
chpwd_injector=`declare -f ${app}_chpwd`
if [ $chpwd_injector ]; then
${app}_chpwd
fi
fi
#export ${app}="${app}_main"
done