]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/compleat/compleat.plugin.zsh
remove lib32-testing repo
[dotfiles.git] / zsh / plugins / compleat / compleat.plugin.zsh
1 # ------------------------------------------------------------------------------
2 # FILE: compleat.plugin.zsh
3 # DESCRIPTION: oh-my-zsh plugin file.
4 # AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com)
5 # VERSION: 1.0.0
6 # ------------------------------------------------------------------------------
7
8 if (( ${+commands[compleat]} )); then
9 local prefix="${commands[compleat]:h:h}"
10 local setup="${prefix}/share/compleat-1.0/compleat_setup"
11
12 if [[ -f "$setup" ]]; then
13 if ! bashcompinit >/dev/null 2>&1; then
14 autoload -U bashcompinit
15 bashcompinit -i
16 fi
17
18 source "$setup"
19 fi
20 fi