mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-13 00:56:31 +08:00
add a completion for zstd support
An update has been released by Arch Linux official to support the packages for zstd compression. > https://www.archlinux.org/news/required-update-to-recent-libarchive/
This commit is contained in:
parent
b7f35f949e
commit
9ea8aa072f
|
@ -132,6 +132,6 @@ complete -c $progname -n "$files" -l machinereadable -d 'Show in machine readabl
|
||||||
|
|
||||||
# Upgrade options
|
# Upgrade options
|
||||||
# Theoretically, pacman reads packages in all formats that libarchive supports
|
# Theoretically, pacman reads packages in all formats that libarchive supports
|
||||||
# In practice, it's going to be tar.xz or tar.gz
|
# In practice, it's going to be tar.xz, tar.gz or tar.zst
|
||||||
# Using "pkg.tar.*" here would change __fish_complete_suffix's descriptions to "unknown"
|
# 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,.gz\})' -d 'Package file'
|
complete -c $progname -n "$upgrade" -xa '(__fish_complete_suffix .pkg.tar\{,.xz,.gz,.zst\})' -d 'Package file'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user