Skip to content

Commit

Permalink
Fix missing $ sign in bash completion (#472)
Browse files Browse the repository at this point in the history
Related issue  #64

Co-authored-by: Max Hacker <[email protected]>
  • Loading branch information
maximehk and Max Hacker authored Nov 13, 2023
1 parent 1bcb5d1 commit d44d33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fire/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _BashScript(name, commands, default_options=None):
option_already_entered()
{{
local opt
for opt in ${{COMP_WORDS[@]:0:COMP_CWORD}}
for opt in ${{COMP_WORDS[@]:0:$COMP_CWORD}}
do
if [ $1 == $opt ]; then
return 0
Expand Down

0 comments on commit d44d33d

Please sign in to comment.