start new:
tmux
start new with session name:
tmux new -s myname
_ssh_auth_save() { | |
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/ssh-auth-sock.$HOSTNAME" | |
} | |
alias screen='_ssh_auth_save ; export HOSTNAME=$(hostname) ; screen' | |
alias tmux='_ssh_auth_save ; export HOSTNAME=$(hostname) ; tmux' |
For a tmux status line as seen in the example image for the wemux project:
The session on the left in the example screen shot uses a patched font from the vim-powerline project. Inconsolata-dz, you beautiful creature.
To duplicate the left status line add the following lines to your ~/tmux.conf
set -g status-left-length 32
set -g status-right-length 150