Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
4a497b02
Commit
4a497b02
authored
May 13, 2011
by
Robby Russell
Browse files
Merge pull request #324 from sorin-ionescu/plugin-compleat
Compleat - Completion for Human Beings Plugin
parents
4f71818a
bd1a78ae
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/compleat/compleat.plugin.zsh
0 → 100644
View file @
4a497b02
# ------------------------------------------------------------------------------
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment