mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-09 22:36:14 +01: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:
parent
e11b49e2f1
commit
ee44164bf1
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
|
||||
|
Loading…
Reference in New Issue
Block a user