dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 93b67e8cfc73e0bbb36a7ca98d3ed3b045905df4
parent 581516373d15567addc36c6cad70e948fd773df5
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sat, 19 Mar 2016 10:35:39 -0700

fix hostname parsing on both osx and linux

Diffstat:
M.tmux.conf | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -105,7 +105,7 @@ set -g status-bg default set -g status-fg cyan #set -g status-right "#[fg=green]#H" set -g status-left-length 40 -set -g status-left "#[fg=red]#(hostname|sed 's/\\\\..*$//') #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" +set -g status-left "#[fg=red]#(hostname|sed \"s/\\\\..*$//\") #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P" #set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" #set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R" #