tab touch

Magnus Therning magnus at therning.org
Mon Dec 13 09:05:07 UTC 2004


On Sun, Dec 12, 2004 at 06:24:19PM -0500, burlap wrote:
>
>> apt-g<tab> i<tab> bic<tab> -> apt-get install bicyclerepair
>
>It's the same with bash. So what about the rest of iceberg?

- Tab completion of makefile targets.
- CVS module tab completion (:ext:, :pserver:, as well as local
  repositories).
- If you press tab twice on something that isn't uniquely defining an
  argument you get a list of possibilities (of course), that list may
  also print descriptions of the arguments (completion for 'tla' is an
  excellent example).
- Configurablity of the displaying of possible completion (e.g. a thresh
  hold value for when the display turns from a simple list to a kind of
  meny that can be navigated using arrow keys.
- No need to use C-x * to expand globs on the command line.
- More correct (AFAICS) behaviour of C-x g (try typing 'ls
  /usr/*/synaptic in bash, then press C-x g see what it thinks it will
  expand to, then press C-x * to see what it actually expands to, ZSH
  does that better).

I am sure the list goes on, but that's what I run into most often. I
think there were some updates to bash's completion when going from
version 2 to 3, but I've never bothered to find out.

I'd suggest taking ZSH for a spin, if you don't like it switch back...

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://magnus.therning.org/

Wade's Maxim:
No one ever made money by typing.
     -- Wade Henessy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041213/bdd8b95c/attachment.sig>


More information about the ubuntu-users mailing list