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'