Skip to content

Commit

Permalink
Merge pull request #145 from scop/fix/bash-var-leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Jul 28, 2023
2 parents 56beb5f + 1318b2f commit 3d61448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shtab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ def complete_bash(parser, root_prefix=None, preamble="", choice_functions=None):
local completing_word="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=()
prefix=${root_prefix}
word_index=0
local prefix=${root_prefix}
local word_index=0
_set_parser_defaults
word_index=1
Expand Down

0 comments on commit 3d61448

Please sign in to comment.