mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-04 22:53:42 +02:00
Discard stderr of the completion script
Otherwise it pollutes the terminal with warnings and errors such as "interrupted!", which makes the terminal line unusable.
This commit is contained in:
3
dist/osc.complete
vendored
3
dist/osc.complete
vendored
@@ -26,6 +26,9 @@ typeset -i remove
|
||||
typeset -i colon
|
||||
typeset -r OIFS="$IFS"
|
||||
|
||||
# Do not pollute the terminal session with warnings or errors
|
||||
exec 2>/dev/null
|
||||
|
||||
if test "/proc/$PPID/exe" -ef /bin/tcsh ; then
|
||||
export COMP_TYPE=63
|
||||
export COMP_KEY=9
|
||||
|
Reference in New Issue
Block a user