From 8b977a3d55e94262e9f628db528ca00a7b8902ae Mon Sep 17 00:00:00 2001 From: Jim Gruen Date: Wed, 4 Dec 2024 20:48:10 -0800 Subject: [PATCH] fixes Ubuntu #2067490: don't output byobu_prompt_runtime to stderr https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/2067490 --- usr/share/byobu/profiles/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index 7fa07d67..8fa6ba13 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -52,7 +52,7 @@ byobu_prompt_runtime() { [ "$hours" = "0" ] && hours= || hours="${hours}h " [ "$minutes" = "0" ] && minutes= || minutes="${minutes}m " str="${days}${hours}${minutes}${seconds}.${microseconds}s" - printf "[%s] " "$str" 1>&2 + printf "[%s] " "$str" } # Requires Bash 4.x export PS0='$(printf "%s" ${EPOCHREALTIME/./} >"$BYOBU_RUN_DIR/timer.$$")'