From 23f942b3157603060598005b7a1878ae03ea7d33 Mon Sep 17 00:00:00 2001 From: akspecs Date: Sat, 29 Feb 2020 14:57:54 -0800 Subject: [PATCH] added uncompressed pkg.tar files for completion --- share/completions/pacman.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/pacman.fish b/share/completions/pacman.fish index 177ddbe50..d89314e4c 100644 --- a/share/completions/pacman.fish +++ b/share/completions/pacman.fish @@ -140,5 +140,5 @@ complete -c $progname -n "$sync" -xa "$listall $listgroups" # Upgrade options # Theoretically, pacman reads packages in all formats that libarchive supports -# In practice, it's going to be tar.xz, tar.gz or tar.zst -complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix pkg.tar.zst; __fish_complete_suffix pkg.tar.xz; __fish_complete_suffix pkg.tar.gz)' -d 'Package file' +# In practice, it's going to be tar.xz, tar.gz, tar.zst, or just pkg.tar (uncompressed pkg) +complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix pkg.tar.zst; __fish_complete_suffix pkg.tar.xz; __fish_complete_suffix pkg.tar.gz; __fish_complete_suffix pkg.tar;)' -d 'Package file'