tmux: add ref

This commit is contained in:
masterzu 2018-12-12 10:41:00 +01:00
parent e14c0eeef2
commit ec99003a6f
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,10 @@ bind a send-prefix
# https://wiki.archlinux.org/index.php/Tmux#Start_a_non-login_shell
set -g default-command "${SHELL}"
# set default term to 256 colors
#set -g default-terminal "tmux-255color"
set -g default-terminal "screen"
# open pane/window in same directory
# https://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux
bind '"' split-window -c "#{pane_current_path}"
@ -26,4 +30,5 @@ bind C-a last-pane
bind r source-file /home/patrick/.tmux.conf \; display-message ".tmux.conf reloaded"
# automatic update env for ssh-agent
# https://stackoverflow.com/questions/21378569/how-to-auto-update-ssh-agent-environment-variables-when-attaching-to-existing-tm
set-option -g update-environment SSH_AUTH_SOCK