From ebfd4f08d55b6038b21db9237cff3975b126fbde Mon Sep 17 00:00:00 2001 From: flipsidecreations Date: Sun, 27 Oct 2019 10:23:36 -0400 Subject: [PATCH] removed showing local 127.0.0.1 for local network in tmux --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 1605b11..1669c7a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -33,7 +33,7 @@ setw -g aggressive-resize on set -g status-justify centre #set -g status-left '#[fg=green]#(whoami)@#H#[default]' set -g status-left-length 70 -set -g status-left "#[fg=yellow]#(ifconfig | grep 'inet ' | awk '{print \"Local \" $2}') #[fg=red]#(ifconfig tun0 | grep 'inet ' | awk '{print \"vpn \" $2}') #(ifconfig ppp0 | grep 'inet ' | awk '{print \"vpn \" $2}')" +set -g status-left "#[fg=yellow]#(ifconfig | grep 'inet ' | grep -v 127.0.0.1 | awk '{print \"Local \" $2}') #[fg=red]#(ifconfig tun0 | grep 'inet ' | awk '{print \"vpn \" $2}') #(ifconfig ppp0 | grep 'inet ' | awk '{print \"vpn \" $2}')" # show session name, window & pane number, date and time on right side of status bar set -g status-right-length 60 set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d %b %Y #[fg=green]:: %l:%M %p :: #(date -u | awk '{print $4}')::"