mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Fix xz file completion
The previous completion gave every files. Here, we only show files with the .xz, .txz, .lzma or .tlz extension.
This commit is contained in:
parent
0a6dc2addb
commit
ed7bf83b56
|
@ -1,5 +1,5 @@
|
|||
complete -c xz -s z -l compress --description 'Compress'
|
||||
complete -c xz -s d -l decompress -l uncompress --description 'Decompress' -a "
|
||||
complete -c xz -s d -l decompress -l uncompress --description 'Decompress' -x -a "
|
||||
(
|
||||
__fish_complete_suffix .xz
|
||||
__fish_complete_suffix .txz
|
||||
|
|
Loading…
Reference in New Issue
Block a user