How do I get `set show-all-if-ambiguous on` in my .inputrc to play nice with the Python interpreter?
- by ysim
I noticed that after I added the set show-all-if-ambiguous on line to my ~/.inputrc, whenever I pressed tab to indent a block, it would show me the bash Display all ... possibilities? (y or n) prompt, and leave me unable to indent the actual code.
Is there any way to keep that line in my .inputrc but still have the tab key work as expected in the Python interpreter?
This is in my VirtualBox Ubuntu 12.04 VM, if it matters.
EDIT: Curiously, I now have a different issue with the Python shell that comes with Django -- when I press tab, I get Python tab completion, but only with one Tab press. I've opened a separate question here for it.