mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +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 -i colon
|
||||||
typeset -r OIFS="$IFS"
|
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
|
if test "/proc/$PPID/exe" -ef /bin/tcsh ; then
|
||||||
export COMP_TYPE=63
|
export COMP_TYPE=63
|
||||||
export COMP_KEY=9
|
export COMP_KEY=9
|
||||||
|
Loading…
Reference in New Issue
Block a user