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
965e1cfe
Commit
965e1cfe
authored
Sep 10, 2011
by
Mario Fernandez
Browse files
fix completion for commands wrapped with bundler
parent
762b55bb
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/bundler/bundler.plugin.zsh
View file @
965e1cfe
...
...
@@ -33,5 +33,10 @@ _run-with-bundler() {
## Main program
for
cmd
in
$bundled_commands
;
do
alias
$cmd
=
"_run-with-bundler
$cmd
"
eval
"function bundled_
$cmd
() { _run-with-bundler
$cmd
\$
@}"
alias
$cmd
=
bundled_
$cmd
if
which _
$cmd
>
/dev/null 2>&1
;
then
compdef _
$cmd
bundled_
$cmd
fi
done
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