update kubectl completion

This commit is contained in:
JesseBot 2024-11-23 12:17:45 +01:00
parent 56fba7459d
commit 17021b258c
No known key found for this signature in database

View file

@ -35,7 +35,7 @@ __kubectl_get_completion_results() {
local requestComp lastParam lastChar args
# 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}")
requestComp="${words[0]} __complete ${args[*]}"