aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-01-18 20:08:23 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-01-18 20:08:23 -0500
commit9c167d5e9117744a4e9fdf255954ebe241aeb845 (patch)
tree96612a668a95e16788c542d7c99adade78d31738 /tmux.conf
parent5e4850175b7c2641710f39c0771468a6f95940fb (diff)
downloaddotfiles-9c167d5e9117744a4e9fdf255954ebe241aeb845.tar.gz
dotfiles-9c167d5e9117744a4e9fdf255954ebe241aeb845.tar.xz
Hopefully a final version for *BSD?
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index 3e9334b..8ff225d 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -44,8 +44,7 @@ set -g status-left "[#S] "
# 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' ) "
# 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' ) "
-# uptime | sed -re's/^.*up[ ]+//g' -e's/^([^,]*),.*/\1/g' -e's/^([^ ]+)[ ]*(.).*/\1\2/g'
+# set -g status-right "#[fg=green,bg=black] #(whoami)@#h|#( uptime | sed -re's/^.*up[ ]+//g' -e's/^([^,]*),.*/\\1/g' -e's/^([^ ]+)[ ]*(.).*/\\1\\2/g' )"
set -g status-right-length 40
set -g window-status-format "#I:#W#F"