fix: fish output redirection (#1247)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
f64bfa1e08
commit
b97b5ead31
@ -164,7 +164,8 @@ end
|
|||||||
# so we can properly delete any completions provided by another script.
|
# so we can properly delete any completions provided by another script.
|
||||||
# The space after the the program name is essential to trigger completion for the program
|
# The space after the the program name is essential to trigger completion for the program
|
||||||
# and not completion of the program name itself.
|
# and not completion of the program name itself.
|
||||||
complete --do-complete "%[2]s " &> /dev/null
|
complete --do-complete "%[2]s " > /dev/null 2>&1
|
||||||
|
# Using '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
|
||||||
|
|
||||||
# Remove any pre-existing completions for the program since we will be handling all of them.
|
# Remove any pre-existing completions for the program since we will be handling all of them.
|
||||||
complete -c %[2]s -e
|
complete -c %[2]s -e
|
||||||
|
Loading…
Reference in New Issue
Block a user