Bash – How to trigger autocomplete without a tab key

autocompletebashkeyboardssh

I'm ssh-ing to my machine using my iPhone with an app called ServerAuditior. It doesn't have tab key. See screenshot.

How do I trigger autocomplete without the tab key? I don't want to type a lot of characters for cd-ing.

I have arrow keys in this app. I can swipe down left right to use arrow keys. It would be amazing if I can bind it to forward arrow key when blinker in at end of my command

enter image description here

Best Answer

You can bind the completion command to any key sequence. Pick something that's easy to type but unlikely to appear in a normal command, like say capital A. Put bind "A":complete in ~/.bashrc, and new bash instances will use capital A as well as TAB to invoke completion.

Related Question