Skip to content

Commit

Permalink
debug2
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Mar 28, 2024
1 parent 2c3c80c commit e0376fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions b2/_internal/_cli/autocomplete_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def is_enabled(self) -> bool:
"""
environ = os.environ.copy()
environ.setdefault("TERM", "xterm") # TERM has to be set for fish to load completions
_silent_success_run_with_tty(
[self.shell_exec, '-c', f'complete -C {quote(self.prog)}']
)
return _silent_success_run_with_tty(
[
self.shell_exec, '-i', '-c',
Expand Down

0 comments on commit e0376fc

Please sign in to comment.