Skip to content

Commit d44d33d

Browse files
maximehkMax Hacker
and
Max Hacker
authored
Fix missing $ sign in bash completion (#472)
Related issue #64 Co-authored-by: Max Hacker <maximeh@google.com>
1 parent 1bcb5d1 commit d44d33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fire/completion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _BashScript(name, commands, default_options=None):
104104
option_already_entered()
105105
{{
106106
local opt
107-
for opt in ${{COMP_WORDS[@]:0:COMP_CWORD}}
107+
for opt in ${{COMP_WORDS[@]:0:$COMP_CWORD}}
108108
do
109109
if [ $1 == $opt ]; then
110110
return 0

0 commit comments

Comments
 (0)