pacaur: recognize *.pkg.tar as valid package extension

This commit is contained in:
Muttley 2018-09-11 13:15:31 +02:00 committed by Fabian Homborg
parent 5d59c6a1cd
commit 0f141b6ccf

View file

@ -163,5 +163,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'