1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-13 09:15:55 +08:00
ohmyzsh/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