[Bash-completion-devel] Bug#618734: [RFC/PATCH] 'tar jcf <TAB>' should complete arbitrary filenames

Ville Skyttä ville.skytta at iki.fi
Sun Mar 27 21:03:23 UTC 2011


On 03/27/2011 09:04 AM, Jonathan Nieder wrote:
> 
> What do you think of Adam's suggestion that "tar cf", unlike "tar rf",
> shouldn't look for existing .tar files at all?

My personal opinion is that looking for existing tar files with "c" is a
good thing.  I use that behavior regularly to overwrite existing tars.

> In practice, commit 14fc9f29 (If _filedir 'ext' returns nothing, just
> fallback to generic file completion, 2011-03-20) [...]

I have some reservations about that patch, and will post to the bash
completion mailing list about it soon.





More information about the Bash-completion-devel mailing list