mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-03 10:59:26 +00:00
[#23] Rename plugins to modules
This commit is contained in:
20
modules/compleat/init.zsh
Normal file
20
modules/compleat/init.zsh
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# Loads Compleat completions.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
if (( ${+commands[compleat]} )); then
|
||||
compleat_setup="${commands[compleat]:h:h}/share/compleat-1.0/compleat_setup"
|
||||
|
||||
if [[ -f "$compleat_setup" ]]; then
|
||||
if autoloadable bashcompinit; then
|
||||
autoload -Uz bashcompinit && bashcompinit
|
||||
fi
|
||||
|
||||
source "$compleat_setup"
|
||||
unset compleat_setup
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user