Skip to content
Myr

fix: fish output redirection (#1247)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matej Vasek · committed by GitHub · parent f64bfa1 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Matej Vasek <mvasek@redhat.com>

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:fish_completions.go+2 added-1 removed
162 unmodified lines
163# Since Fish completions are only loaded once the user triggers them, we trigger them ourselves164# so we can properly delete any completions provided by another script.165# The space after the the program name is essential to trigger completion for the program166# and not completion of the program name itself.167complete --do-complete "%[2]s " &> /dev/null167complete --do-complete "%[2]s " > /dev/null 2>&1168# Using '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.169170# Remove any pre-existing completions for the program since we will be handling all of them.171complete -c %[2]s -e172
35 unmodified lines