diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | bash_completion | 2 | ||||
-rw-r--r-- | completions/jar | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -38,6 +38,7 @@ bash-completion (2.x) * Remove most "-o filenames" options to "complete", turn "-o filenames" on dynamically when needed instead. * Add/improve various autotools completions. + * Add *.apk to unzip and jar filename completions. [ Freddy Vulto ] * Added _tilde(), fix ~username completion (Alioth: #312613, Debian: #587095) diff --git a/bash_completion b/bash_completion index e724f02e..e4787f20 100644 --- a/bash_completion +++ b/bash_completion @@ -70,7 +70,7 @@ complete -d pushd # START exclude -- do NOT remove this line # bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510 complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat -complete -f -X '!*.@(zip|[ejw]ar|exe|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub)' unzip zipinfo +complete -f -X '!*.@(zip|[ejw]ar|exe|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub|apk)' unzip zipinfo complete -f -X '*.Z' compress znew # zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510 complete -f -X '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz diff --git a/completions/jar b/completions/jar index f60eb3ef..d703019d 100644 --- a/completions/jar +++ b/completions/jar @@ -18,7 +18,7 @@ _jar() _filedir ;; *f) - _filedir '@([ejw]ar|zip)' + _filedir '@([ejw]ar|zip|apk)' ;; *) _filedir |