From c1af5607535899f75e3c171029e05a1828122268 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Sun, 27 May 2018 00:41:46 +0200 Subject: [PATCH] pacman: Recognize *.pkg.tar as valid package extension (#5005) * pacman: Recognize *.pkg.tar as valid package extension --- share/completions/pacman.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/completions/pacman.fish b/share/completions/pacman.fish index 5c659c7a2..77cea0d00 100644 --- a/share/completions/pacman.fish +++ b/share/completions/pacman.fish @@ -134,5 +134,4 @@ complete -c $progname -n "$files" -l machinereadable -d 'Show in machine readabl # Theoretically, pacman reads packages in all formats that libarchive supports # In practice, it's going to be tar.xz or tar.gz # Using "pkg.tar.*" here would change __fish_complete_suffix's descriptions to "unknown" -complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix pkg.tar.xz)' -d 'Package file' -complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix pkg.tar.gz)' -d 'Package file' +complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix .pkg.tar\{,.xz,.gz\})' -d 'Package file'