diff options
Diffstat (limited to 'tmux.conf')
| -rw-r--r-- | tmux.conf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ set -g status-left "[#S] " # set -g status-right "#[fg=green,bg=black] #(whoami)@#h|up:#(uptime | awk '{print $1}' | awk -F: '{print $1}')h " # Who knew I'd be embedding such a horrible abomination into a tmux configuration file? set -g status-right "#[fg=green,bg=black] #(whoami)@#h|#( uptime -p | awk 'BEGIN {OFS=\",\";} {print $1, $2, $3}' | sed -re's/^up,([0-9]+),([hmrsdwy]).*$/up:\\1\\2/g' ) " -# TODO: show what it will look like for *BSD systems: - +# If you're on a BSD system copy this line into your ~/.tmux.conf.local +# set -g status-right "#[fg=green,bg=black] #(whoami)@#h|#( uptime | sed -re's/^.*up ([0-9]+) ([hmrsdwy]).*$/\\1\\2/g' ) " set -g status-right-length 40 set -g window-status-format "#I:#W#F" |
