diff --git a/.tmux.conf b/.tmux.conf index 2080809..4e86c62 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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