add host and ip to tmux status bar

This commit is contained in:
2016-06-18 22:00:12 +02:00
parent 5f14687c6c
commit 4c17272a9a

View File

@@ -86,8 +86,8 @@ setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour1
# Info on left (I don't have a session display for now)
set -g status-left ''
set -g status-left-length 70
set -g status-left "#[fg=colour233,bg=colour245,bold] ⌂ #h ф #(curl whatismyip.akamai.com) "
##########################################
### some tmux tweaks
@@ -141,3 +141,4 @@ bind-key C-b last-window
##########################################
# url: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
#set-option -g default-command "reattach-to-user-namespace -l bash"
#set-option -g default-command "reattach-to-user-namespace -l zsh"