mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
update kubectl completion
This commit is contained in:
parent
56fba7459d
commit
17021b258c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ __kubectl_get_completion_results() {
|
||||||
local requestComp lastParam lastChar args
|
local requestComp lastParam lastChar args
|
||||||
|
|
||||||
# Prepare the command to request completions for the program.
|
# Prepare the command to request completions for the program.
|
||||||
# Calling ${words[0]} instead of directly kubectl allows to handle aliases
|
# Calling ${words[0]} instead of directly kubectl allows handling aliases
|
||||||
args=("${words[@]:1}")
|
args=("${words[@]:1}")
|
||||||
requestComp="${words[0]} __complete ${args[*]}"
|
requestComp="${words[0]} __complete ${args[*]}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue