Skip to content

Commit

Permalink
tar: Fix completing files inside *.tlz when J is explicitly given.
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Mar 21, 2013
1 parent 408cb08 commit d02d940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/tar
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ _tar()
;;
*[J]*f)
ext='@(t?(ar.)|gem.|spkg.)@(lz?(ma)|xz)'
regex='\(t\(ar\.\)\?\|gem\.\|spkg\.\)\(lzma\|xz\)\?'
regex='\(t\(ar\.\)\?\|gem\.\|spkg\.\)\(lz\(ma\)\?\|xz\)\?'
;;
*)
_filedir
Expand Down

0 comments on commit d02d940

Please sign in to comment.