[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] tla bash completion
From: |
Jonas Diemer |
Subject: |
Re: [Gnu-arch-users] tla bash completion |
Date: |
Thu, 28 Aug 2003 18:54:49 +0200 |
Hi!
I've looked at your tla completion scripts, I already have some
suggestions:
1. As Jason McCarty pointed out, I would leave single letter options out
of completion. I think his argumentation is logical. Plus there's no
speed up for the user in completing one letter options.
2. Currently, the script only offers options once (if prev is a
subcommand). It should, however, also offer options if prev is an option
to a subcommand that doesn't take an argument (we know to complete).
I've incorporated that in your version, ask me if you want the
diff/patch/whatever.
In my implementation, I assumed that the first string after tla is
always a subcommand (I needed to get the subcommand somehow), is this
too "static"? It can be easily fixed (at some performance cost)...
3. It would be nice if the script would not offer options that have
already been offered. I'm not sure if this is worth a loop through all
previous options though...
regards
Jonas
- [Gnu-arch-users] tla bash completion, Jonas Diemer, 2003/08/28
- Re: [Gnu-arch-users] tla bash completion, Jan Hudec, 2003/08/28
- Re: [Gnu-arch-users] tla bash completion, Robert Anderson, 2003/08/28
- Re: [Gnu-arch-users] tla bash completion, Jonas Diemer, 2003/08/28
- Re: [Gnu-arch-users] tla bash completion,
Jonas Diemer <=
- Re: [Gnu-arch-users] tla bash completion, Jan Hudec, 2003/08/28
- Re: [Gnu-arch-users] tla bash completion, Jonas Diemer, 2003/08/28
- a contrib directory (was Re: [Gnu-arch-users] tla bash completion), Tom Lord, 2003/08/28
- [Gnu-arch-users] Re: a contrib directory, Tez Kamihira, 2003/08/28
- Re: [Gnu-arch-users] Re: a contrib directory, Tom Lord, 2003/08/28
- Re: [Gnu-arch-users] Re: a contrib directory, Jan Hudec, 2003/08/29
- Re: [Gnu-arch-users] Re: a contrib directory, Harald Meland, 2003/08/29
- Re: [Gnu-arch-users] Re: a contrib directory, Jonas Diemer, 2003/08/29
- Re: [Gnu-arch-users] Re: a contrib directory, Alexander Deruwe, 2003/08/29
- Re: [Gnu-arch-users] Re: a contrib directory, Tom Lord, 2003/08/29