in reply to (OT) Bash Tabbing

From what you write it's not all that clear - is your script interactive?
Have a look at Term::ReadLine::Gnu, then.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: (OT) Bash Tabbing
by qbxk (Friar) on Aug 24, 2006 at 04:57 UTC
    no, not interactive. just trying to redirect the bash "tab" to someplace i have control over, that is:
    overriding the default behavior of using the current directory's contents for the bash completion list.

    I'm pretty sure imp nailed it (++), ikegami might have, but that's only if i wanted interactive. It'd be supremely cool to have a module that did just override bash behavior like the bash completion project does, but i have no clue how you could possibly create such a beast

    It's not what you look like, when you're doin' what you’re doin'.
    It's what you’re doin' when you’re doin' what you look like you’re doin'!
         - Charles Wright & the Watts 103rd Street Rhythm Band, Express yourself