We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7789adf commit 468acb2Copy full SHA for 468acb2
generate.sh
@@ -43,8 +43,7 @@ completion+="\n{"
43
completion+="\n local cur"
44
completion+="\n local prev"
45
completion+="\n"
46
-completion+="\n cur=\"\${COMP_WORDS[COMP_CWORD]}\""
47
-completion+="\n prev=\"\${COMP_WORDS[COMP_CWORD-1]}\""
+completion+="\n _get_comp_words_by_ref -n : cur prev
48
49
completion+="\n local -a words=("
50
# generate list of commands
sfdx.bash
@@ -33,8 +33,7 @@ _sfdx()
33
local cur
34
local prev
35
36
- cur="${COMP_WORDS[COMP_CWORD]}"
37
- prev="${COMP_WORDS[COMP_CWORD-1]}"
+ _get_comp_words_by_ref -n : cur prev
38
39
local -a words=(
40
force:alias:list \
0 commit comments