mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
completions/unzip: Silence stderr
This commit is contained in:
parent
a4dc6dcb74
commit
ad55a55734
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if unzip -v 2>/dev/null | string match -eq Debian
|
||||||
|
|
||||||
# Files thereafter are either files to include or exclude from the operation
|
# Files thereafter are either files to include or exclude from the operation
|
||||||
set -l zipfile
|
set -l zipfile
|
||||||
complete -c unzip -n 'not __fish_is_nth_token 1' -xa '(unzip -l (eval set zipfile (__fish_first_token); echo $zipfile) | string replace -r --filter ".*:\S+\s+(.*)" "\$1")'
|
complete -c unzip -n 'not __fish_is_nth_token 1' -xa '(unzip -l (eval set zipfile (__fish_first_token); echo $zipfile) 2>/dev/null | string replace -r --filter ".*:\S+\s+(.*)" "\$1")'
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue