diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-01-18 20:08:23 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-01-18 20:08:23 -0500 |
| commit | 9c167d5e9117744a4e9fdf255954ebe241aeb845 (patch) | |
| tree | 96612a668a95e16788c542d7c99adade78d31738 /tmux.conf | |
| parent | 5e4850175b7c2641710f39c0771468a6f95940fb (diff) | |
| download | dotfiles-9c167d5e9117744a4e9fdf255954ebe241aeb845.tar.gz dotfiles-9c167d5e9117744a4e9fdf255954ebe241aeb845.tar.xz | |
Hopefully a final version for *BSD?
Diffstat (limited to 'tmux.conf')
| -rw-r--r-- | tmux.conf | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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" |
