mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-19 22:48:26 +08:00
13 lines
346 B
Plaintext
13 lines
346 B
Plaintext
#compdef cdk
|
|
|
|
# Originally found and adapted from: https://github.com/aws/aws-cdk/discussions/24380#discussioncomment-5158176
|
|
|
|
local -a reply
|
|
local IFS
|
|
IFS=$'\n' reply=($(COMP_CWORD="$((CURRENT-1))" \
|
|
COMP_LINE="$BUFFER" \
|
|
COMP_POINT="$CURSOR" \
|
|
cdk --get-yargs-completions "${words[@]}"))
|
|
|
|
_describe 'values' reply
|