1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00

refactor():Changed variable name according to guidelines

This commit is contained in:
Donal Shijan 2023-10-15 21:59:32 +05:30
parent 235b8cf4de
commit 9cd054ddc0

View file

@ -6,12 +6,12 @@ fi
###-begin-cdk-completions-### ###-begin-cdk-completions-###
_cdk_yargs_completions() _cdk_yargs_completions()
{ {
local reply local completion_suggestions
local si=$IFS local si=$IFS
IFS=$' IFS=$'
' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" cdk --get-yargs-completions "${words[@]}")) ' completion_suggestions=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" cdk --get-yargs-completions "${words[@]}"))
IFS=$si IFS=$si
_describe 'values' reply _describe 'values' completion_suggestions
} }
compdef _cdk_yargs_completions cdk compdef _cdk_yargs_completions cdk
###-end-cdk-completions-### ###-end-cdk-completions-###