oh-my-zsh/plugins/compleat/compleat.plugin.zsh
Andrew Hodges ace84c8b7e Cleanup
Add missing newlines at EOF. Remove redundant comment. Fix grammar in comment.
2011-05-28 13:06:03 -04:00

21 lines
630 B
Bash

# ------------------------------------------------------------------------------
# FILE: compleat.plugin.zsh
# DESCRIPTION: oh-my-zsh plugin file.
# AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com)
# VERSION: 1.0.0
# ------------------------------------------------------------------------------
if (( ${+commands[compleat]} )); then
local prefix="${commands[compleat]:h:h}"
local setup="${prefix}/share/compleat-1.0/compleat_setup"
if [[ -f "$setup" ]]; then
if ! bashcompinit >/dev/null 2>&1; then
autoload -U bashcompinit
bashcompinit -i
fi
source "$setup"
fi
fi