I like to get a little bit of useful information in my statusline. So I
have the following script:
msg="$(date +%F)$(uptime)"
# msg=${msg/ load average:/}
echo ${msg}
In tmux.conf I have:
set -g status-right '#(infoStatusline)'
set -g status-right-length 80
The above script works with the second line commented out. But when I
remove the comment it does not work anymore. The script gives the output I
want when called from the command line, but the tmux status line becomes
blank.
What is happening here and how do I solve it?
--
Cecil Westerhof
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/CAG-LmmDMBRCpxTMveBPg28JpGXvJfg1hQzqA4tVtBbMuo07TiQ%40mail.gmail.com.