aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-01-18 19:41:09 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-01-18 19:41:09 -0500
commit2c9367a3962711f51f5d7424742be2c8ea0be572 (patch)
tree609da64318b27665f5dfe22d9ce8136cf55a17e8
parentd0c380f13db16b6c8aace812c20247c024ac323c (diff)
parent25e8fe73b37d039f69d5b8a59783428b2d008eda (diff)
downloaddotfiles-2c9367a3962711f51f5d7424742be2c8ea0be572.tar.gz
dotfiles-2c9367a3962711f51f5d7424742be2c8ea0be572.tar.xz
Merge branch 'master' of git.riedstra.us:/mitch/dotfiles
-rw-r--r--tmux.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index d5381c7..9a0008b 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -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"