Commit 6c7fc452 authored by Vitaly Lipatov's avatar Vitaly Lipatov

showcmd: redirect output to stderr

parent a4aa1be8
......@@ -578,10 +578,11 @@ check_display()
$XSET -b
}
# Print command line only
# Print command line only (to stderr to not pollute stdout)
showcmd()
{
local i
{
SETCOLOR_SUCCESS
echo -n " \$"
for i in "$@" ; do
......@@ -593,7 +594,7 @@ showcmd()
done
echo
SETCOLOR_NORMAL
} >&2
}
# Print command line and run command line
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment