bash auto-complete behaviour changes
since upgrade a bunch of my system to mandrake 9.0, when i use autocomplete [TAB] in Bash, i only get one screenfull at a time, leaving with an annoying "--More--" prompt at the bottom of the screen. and then i have to press "q" to get out of that mode, that's sucky and really annoying. anyone know where this behaviour comes from and how to remove it? (and who thought it was a good idea...?). none of my bashrc's have changed at all, and i can't see any new option n the bash manpage... maybe mandrakes squirrelling away some options somewhere in a corner.
|
Ok, so here's a possibility. there is a bash shell builtin 'complete ' which takes an argument -C
Code:
-C command |
Hey acid, see if you got /etc/bash_completion , as far as I can tell it is the new thing from http://www.caliban.org/bash/index.shtml#completion
|
i didn't know about that programmable completion for host anmes etc... always thought that should exist... but neither suggestion has lead to anything. i *think* it's probably compiled in to the bash binary, though i've no way of finding out. "strings /bin/bash" tells me that the --More-- is internal to bash but there must be someway to make it act like the older versions.
has anyone else foudn this chaneg in behaviour with mandrake 9.0 (bash 2.05b) |
So I installed ''GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.6)'' and looked at the man page here's what I saw under ''Readline variables''
Code:
|
ahh cool, that hit it! mind you it always annoys me when people say that to one of my answers as i'm normally thinking "well what did you expect it to do?"... anyway.... it's not in the manpage i've got here, would've been nice if they'd documented it properly huh? cheers.
|
All times are GMT -5. The time now is 11:52 AM. |