mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
Allow unzip versions not patched by Debian to enjoy .{jar,aar} completions
A minor follow-up to #6866 (e658a88ab0).
These file types should be properly handled by other unzip flavors too,
regardless of Debian's/non-Linux Unixes' idiosyncrasies.
This commit is contained in:
committed by
Fabian Homborg
parent
8025e80fdb
commit
33bc2bc312
@@ -41,6 +41,10 @@ if unzip -v 2>/dev/null | string match -eq Debian
|
||||
else
|
||||
|
||||
# all tokens should be zip files
|
||||
complete -c unzip -xa '(__fish_complete_suffix .zip)'
|
||||
complete -c unzip -xa '(
|
||||
__fish_complete_suffix .zip
|
||||
__fish_complete_suffix .jar
|
||||
__fish_complete_suffix .aar
|
||||
)'
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user