]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/compleat/compleat.plugin.zsh
38f1b396aabf16926d6f0aff06e6f20b2840ab40
[dotfiles.git] / stow / oh-my-zsh / .oh-my-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