nmeum / android-tools

Unoffical CMake-based build system for android command line utilities
Apache License 2.0
177 stars 51 forks source link

[SOLVED] Double tap [Tab] freezes terminals #123

Closed youngunix closed 12 months ago

youngunix commented 12 months ago

Hello,

background:

I just installed the android-tools from the main Gentoo repo, this package never existed on my system before. When I type adb in the terminals above, then double tap [Tab] for completion, the terminals freeze and I have to force close them. Not sure if this is a terminal, shell, or adb issue. let me know if you need any log to help troubleshoot this issue.

Biswa96 commented 12 months ago

Do you mean something like shell completions? The upstream repositories only provide bash completions for adb and fastboot. For zsh, oh-my-zsh project has shell completion file for adb, see https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/adb/_adb

youngunix commented 12 months ago

@Biswa96 thank you for pointing me to the right direction. I was able to solve this issue by enabling the adb plugin in ~/.zshrc.