Add *.apk to unzip and jar filename completions.
This commit is contained in:
parent
c5957792ab
commit
0ceca807c5
1
CHANGES
1
CHANGES
@ -38,6 +38,7 @@ bash-completion (2.x)
|
|||||||
* Remove most "-o filenames" options to "complete", turn "-o filenames" on
|
* Remove most "-o filenames" options to "complete", turn "-o filenames" on
|
||||||
dynamically when needed instead.
|
dynamically when needed instead.
|
||||||
* Add/improve various autotools completions.
|
* Add/improve various autotools completions.
|
||||||
|
* Add *.apk to unzip and jar filename completions.
|
||||||
|
|
||||||
[ Freddy Vulto ]
|
[ Freddy Vulto ]
|
||||||
* Added _tilde(), fix ~username completion (Alioth: #312613, Debian: #587095)
|
* Added _tilde(), fix ~username completion (Alioth: #312613, Debian: #587095)
|
||||||
|
@ -70,7 +70,7 @@ complete -d pushd
|
|||||||
# START exclude -- do NOT remove this line
|
# START exclude -- do NOT remove this line
|
||||||
# bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510
|
# 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 '!*.?(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
|
complete -f -X '*.Z' compress znew
|
||||||
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
|
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
|
||||||
complete -f -X '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz
|
complete -f -X '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz
|
||||||
|
@ -18,7 +18,7 @@ _jar()
|
|||||||
_filedir
|
_filedir
|
||||||
;;
|
;;
|
||||||
*f)
|
*f)
|
||||||
_filedir '@([ejw]ar|zip)'
|
_filedir '@([ejw]ar|zip|apk)'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_filedir
|
_filedir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user