bash-completion-Bugs item #314457, was opened at 2013-09-30 17:58
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314457&group_id=100114

Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: tar completion only handles dashless style 
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
Anonymous message posted by mans...@oxplot.com

I'm not used to the usual dashless (is it called BSD style cmd line options?) 
style options as many aren't (e.g. tar xf some.tar.gz). However, the current 
completion script for tar only accepts that style and no other. In"complete" if 
you ask me :)

I rewrote the majority of it to make it very flexible, working with 
short/long/dashless style options, so things like:

$ tar f <press-tab-here> -x --bzip2

would work fine (ie list only bzip2 compressed files in cwd).

This is my first time writing a bash-completion script and I tried to retain as 
much code as possible. I have also done a good deal of testing, but do please 
do some more if can.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314457&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to