Re: Environment Variable Completion
> I love this project. Truly a great
> time/keystroke saver. I have had one
> problem, though. Has anyone else found
> that environment variable completion no
> longer works. The way I work, I find
> that I type a lot of environment
> variable names, and the fact that Bash
> will no longer complete them is very
Could you be more precise about exactly what you're attempting to do here?
Environment Variable Completion
I love this project. Truly a great time/keystroke saver. I have had one problem, though. Has anyone else found that environment variable completion no longer works. The way I work, I find that I type a lot of environment variable names, and the fact that Bash will no longer complete them is very annoying.
Folder completion for mutt or mailx?
Has anybody attempted folder completion for something like mutt?
> mutt -f =foo<tab>
foobar foobaz food
mailx and many other MUAs use this "=folder" syntax from the command line, so it would be useful for more than just mutt.
i would like to complete the command badblocks
e.g. "badblocks -sv /dev/sda1"
because the E2fsprogs is a essential tool in every distribution
"rm -r" completion
I would like to have a completion to the command "rm -r".
Only directories should be listed.
Automatic change directory
Would it be possible to add the automatic change directory feature to Bash Completion?
If a directory called /usr/local/lib/foo exists and the command line is:
$ /usr/local/lib/foo <return>
Then the action is to change to that directory instead of reporting that "/usr/local/lib/foo" is a directory.
I've used this feature in other shells. Can this be done at the command completion level or does it call for a more fundamental change in bash itself?
> A change to the completion of gdb that i
> forgot to submit earlier:
> change echo core* \ to compgen -f core*
Thanks. This will be in the next release.
> There's a "core *" missing in
> @line 2595
> + COMPREPLY=( $( compgen
> -W "$( echo core.* $( ps axo
> comm,pid |
> BTW, it would be nice, when nothing
> matches, to have it revert to old style.
> It's more annoying this way.
You can't pass both '-o filenames' and '-o default' to the complete built-in. bash's completion mechanism is inadequate in a number of ways and this is just one of them.
Re: rsync suport
> is rsync suport available and if not
> does anyone know when it will be?
> i love bash completion :)
> the only thing i wouldn't want it to
> support is password completion :))
Basic rsync support is in there already. Just try 'rsync --<Tab>' and see what you get.
Thanks for your kind words.
> In the documentation for bash_completion
> it says that to add local completions
> they should go in ~/.bash_completion .
> What format should they be in?
They should be simple shell scripts. They will be sourced at the end of /etc/bash_completion, so they need not contain a shebang line nor be executable.
An intrusion prevention/denial of service mitigation service in PHP.
An application that generates HTML photo albums.