- ~/.tmux.conf and ~/.tmux.conf.local
- $XDG_CONFIG_HOME/tmux/tmux.conf and $XDG_CONFIG_HOME/tmux/tmux.conf.local
- ~/.config/tmux/tmux.conf and ~/.config/tmux/tmux.conf.local
Oh my tmux! now relies on setting @tpm_plugins so as to not impose its opinions
on TPM and its way of discovering sourced tmux configuration tiles
do not unset '@tpm_plugins' once initial setup is done as it prevents the update
plugins binding from working
- ~/.tmux.conf and ~/.tmux.conf.local
- $XDG_CONFIG_HOME/tmux/tmux.conf and $XDG_CONFIG_HOME/tmux/tmux.conf.local
- ~/.config/tmux/tmux.conf and ~/.config/tmux/tmux.conf.local
fixed TMUX_PLUGIN_MANAGER_PATH when installed in ~
also made TMUX_PLUGIN_MANAGER_PATH available in the environment of the first created pane
disabled SC3041 violation and fixed SC2015 violation
SC3041 (warning): In POSIX sh, set flag -H is undefined
SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true
- ~/.tmux.conf and ~/.tmux.conf.local
- $XDG_CONFIG_HOME/tmux/tmux.conf and $XDG_CONFIG_HOME/tmux/tmux.conf.local
- ~/.config/tmux/tmux.conf and ~/.config/tmux/tmux.conf.local
location of configuration files is determined by the following environment variables:
- TMUX_CONF
- TMUX_CONF_LOCAL
the TMUX_PROGRAM environment variable contains the path to the tmux executable
resolves#200, resolves#221, resolves#439, resolves#586, resolves#624
do not try to ignore the command if supplied
parsing the ssh command line is brittle and people sometimes pass
options after user@hostname, e.g.
ssh -p 222 user@hostname -I /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so
on macOS, here are the steps to install tmux-256color system wide
$ $(brew --prefix ncurses)/bin/infocmp tmux-256color > /tmp/tmux-256color.info
$ /usr/bin/tic -x /tmp/tmux-256color.info
which will install tmux-256color in ~/.terminfo/74/tmux-256color
resolves#530, resolves#592, resolves#601
${EDITOR//gvim/vim} and ${EDITOR//mvim/vim} have been introduced to fix#416,
however the replace all substitution is not POSIX and is not supported by termux
or dash
the proper fix for #416 is to set EDITOR to 'gvim -f' or 'mvim -f'
inspired by css, any set/bind/unbind command ending with #!important will be
executed honored, e.g.:
bind-key -T copy-mode-vi Escape send-keys -X clear-selection #!important
- increase the curl timeout to 2 seconds
- use curl -f -s instead of redirecting stderr to /dev/null
- print an empty line in case curl is not available or exists in error,
which should prevent tmux from displaying <... not ready>
you can set the following variables to 'disabled':
- tmux_conf_new_window_retain_current_path
- tmux_conf_new_pane_retain_current_path
- tmux_conf_new_pane_reconnect_ssh
- tmux_conf_new_session_prompt
- tmux_conf_copy_to_os_clipboard