Skip to content

Commit

Permalink
Add hostname to right status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbonner committed Jan 22, 2017
1 parent 4e8f0bc commit 79f6180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmux/tmux.conf
Expand Up @@ -62,14 +62,14 @@ set -g renumber-windows on

# remove administrative debris (session name, hostname, time) in status bar
#set -g status-left ''
set -g status-right '#[fg=green]|#[fg=white] %a, %d/%m %H:%M:%S'
set -g status-right '#h #[fg=green]|#[fg=white] %a, %d/%m %H:%M:%S'

# Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"

## Let copying work in vim
set-option -g default-command "/opt/local/bin/reattach-to-user-namespace zsh"
set-option -g default-command "/usr/local/bin/reattach-to-user-namespace zsh"

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
Expand Down

0 comments on commit 79f6180

Please sign in to comment.