[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does one disable completion when nothing but tabs or spaces is on th
Linda A. Walsh
How does one disable completion when nothing but tabs or spaces is on the line?
Mon, 31 Dec 2012 13:48:21 -0800
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:22.214.171.124) Gecko/20100228 Lightning/0.9 Thunderbird/126.96.36.199 Mnenhy/0.7.6.666
If I have nothing but tabs or spaces on a line, how do I disable
completion but have it return the char typed? (space or tab) -- and if
bash is looking for a command, then execute any command.
<tab><tab><tab>ls "sorta works (tab's are dropped/ignored) -- would
want them echo'd.
2) In a continuation line, if it is a quote, treat TAB's as literals if
they are the first thing on a line:
echo "$a" gives me 'a' indented 4 spaces
echo "$a" to indent 1 tab (usually 8 spaces, but terminal dependent)
3) within a command (like if/while/for...).. i.e.
if ((1)) ;then
if ((1)); then
NOTE: I tried binding a key like 'backquote' ("`") to the completion
but it seems rebinding in readline doesn't work consistently. Is that a
|[Prev in Thread]
||[Next in Thread]|
- How does one disable completion when nothing but tabs or spaces is on the line?,
Linda A. Walsh <=