Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
f776af2a
Commit
f776af2a
authored
Sep 30, 2020
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant bashcompinit calls
Fixes #9246
parent
a8828aad
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
10 deletions
+2
-10
aws.plugin.zsh
plugins/aws/aws.plugin.zsh
+0
-1
compleat.plugin.zsh
plugins/compleat/compleat.plugin.zsh
+2
-5
drush.plugin.zsh
plugins/drush/drush.plugin.zsh
+0
-2
stack.plugin.zsh
plugins/stack/stack.plugin.zsh
+0
-1
wp-cli.plugin.zsh
plugins/wp-cli/wp-cli.plugin.zsh
+0
-1
No files found.
plugins/aws/aws.plugin.zsh
View file @
f776af2a
...
@@ -64,7 +64,6 @@ fi
...
@@ -64,7 +64,6 @@ fi
# AWS CLI v2 comes with its own autocompletion. Check if that is there, otherwise fall back
# AWS CLI v2 comes with its own autocompletion. Check if that is there, otherwise fall back
if
command
-v
aws_completer &> /dev/null
;
then
if
command
-v
aws_completer &> /dev/null
;
then
autoload
-Uz
bashcompinit
&&
bashcompinit
complete
-C
aws_completer aws
complete
-C
aws_completer aws
else
else
function
_awscli-homebrew-installed
()
{
function
_awscli-homebrew-installed
()
{
...
...
plugins/compleat/compleat.plugin.zsh
View file @
f776af2a
...
@@ -10,11 +10,8 @@ if (( ${+commands[compleat]} )); then
...
@@ -10,11 +10,8 @@ if (( ${+commands[compleat]} )); then
local
setup
=
"
${
prefix
}
/share/compleat-1.0/compleat_setup"
local
setup
=
"
${
prefix
}
/share/compleat-1.0/compleat_setup"
if
[[
-f
"
$setup
"
]]
;
then
if
[[
-f
"
$setup
"
]]
;
then
if
!
bashcompinit
>
/dev/null 2>&1
;
then
autoload
-U
bashcompinit
bashcompinit
-i
fi
source
"
$setup
"
source
"
$setup
"
fi
fi
unset
prefix setup
fi
fi
plugins/drush/drush.plugin.zsh
View file @
f776af2a
...
@@ -99,6 +99,4 @@ alias drvg="drush variable-get"
...
@@ -99,6 +99,4 @@ alias drvg="drush variable-get"
alias
drvs
=
"drush variable-set"
alias
drvs
=
"drush variable-set"
# Enable drush autocomplete support
# Enable drush autocomplete support
autoload bashcompinit
bashcompinit
source
$(
dirname
$0
)
/drush.complete.sh
source
$(
dirname
$0
)
/drush.complete.sh
plugins/stack/stack.plugin.zsh
View file @
f776af2a
((
$+
commands[stack]
))
||
return
((
$+
commands[stack]
))
||
return
autoload
-U
+X bashcompinit
&&
bashcompinit
source
<
(
stack
--bash-completion-script
stack
)
source
<
(
stack
--bash-completion-script
stack
)
plugins/wp-cli/wp-cli.plugin.zsh
View file @
f776af2a
...
@@ -138,7 +138,6 @@ alias wpwm='wp widget move'
...
@@ -138,7 +138,6 @@ alias wpwm='wp widget move'
alias
wpwu
=
'wp widget update'
alias
wpwu
=
'wp widget update'
autoload
-U
+X bashcompinit
&&
bashcompinit
# bash completion for the `wp` command
# bash completion for the `wp` command
_wp_complete
()
{
_wp_complete
()
{
...
...
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