Skip to content

Commit 1ddae87

Browse files
Merge pull request #1087 from reef-technologies/fix-autocomplete-install-zsh
Fix autocomplete install for zsh
2 parents c428028 + 57e5f21 commit 1ddae87

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

b2/_internal/_cli/autocomplete_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def is_enabled(self) -> bool:
171171
if not rc_path.exists():
172172
# if zshrc is missing `zshrc -i` may hang on creation wizard when emulating tty
173173
rc_path.touch(mode=0o750)
174-
_silent_success_run_with_pty(
174+
_silent_success_run_with_tty(
175175
[self.shell_exec, '-c', 'autoload -Uz compaudit; echo AUDIT; compaudit']
176176
)
177177

changelog.d/1086.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix autocomplete install for `zsh`.

0 commit comments

Comments
 (0)