mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
fixes Ubuntu #2067490: don't output byobu_prompt_runtime to stderr
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/2067490
This commit is contained in:
parent
cd253f0229
commit
8b977a3d55
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ byobu_prompt_runtime() {
|
||||||
[ "$hours" = "0" ] && hours= || hours="${hours}h "
|
[ "$hours" = "0" ] && hours= || hours="${hours}h "
|
||||||
[ "$minutes" = "0" ] && minutes= || minutes="${minutes}m "
|
[ "$minutes" = "0" ] && minutes= || minutes="${minutes}m "
|
||||||
str="${days}${hours}${minutes}${seconds}.${microseconds}s"
|
str="${days}${hours}${minutes}${seconds}.${microseconds}s"
|
||||||
printf "[%s] " "$str" 1>&2
|
printf "[%s] " "$str"
|
||||||
}
|
}
|
||||||
# Requires Bash 4.x
|
# Requires Bash 4.x
|
||||||
export PS0='$(printf "%s" ${EPOCHREALTIME/./} >"$BYOBU_RUN_DIR/timer.$$")'
|
export PS0='$(printf "%s" ${EPOCHREALTIME/./} >"$BYOBU_RUN_DIR/timer.$$")'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue