bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

completion and posix mode


From: Dick Streefland
Subject: completion and posix mode
Date: Tue, 19 Feb 2002 11:31:09 +0100
User-agent: Mutt/1.2.5i

I noticed that in bash-2.05a, vi command completion doesn't work
anymore when the shell is started as /bin/sh, which enables posix
mode. This used to work in bash-2.03. I understand that POSIX requires
TAB to be mapped to self-insert, so that the default has been changed.

But now my question is: How do I get completion back? It doesn't help
to add "TAB: complete" to my .inputrc. Adding "bind TAB:complete" to
the startup files doesn't work either, because posix mode is entered
after all startup files are processed.

Another option for me would be to prevent switching on posix mode, but
that seems impossible as well. Changing my shell to /bin/bash is not
an option, because the passwd file is in NIS, and I must be able to
log in to other machines lacking a /bin/bash shell. The only solution
I see right now is to put "test -x /bin/bash && exec /bin/bash" in
.profile, but I would really like to avoid that.

-- 
Dick Streefland                      ////             Altium Software BV
address@hidden           (@ @)          http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]