1
0
Fork 0
mirror of synced 2024-12-04 14:45:38 -05:00

fixup! added support for configuration files in the following locations: - ~/.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

This commit is contained in:
Gregory Pakosz 2023-02-07 23:23:18 +01:00
parent 46d226236c
commit 7ec0c30c02

View file

@ -1417,8 +1417,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
# tmux display 'Done uninstalling tpm and plugins...'
# fi
# else
# if [ x"$TMUX_PROGRAM" = x"$(command -v tmux)" ]; then
#
# if [ command -v tmux | grep -q -E 'alias\s+tmux\s*=' ] || [ x"$(command -v tmux)" = x"$TMUX_PROGRAM" ]; then
# if git ls-remote -hq https://github.com/gpakosz/.tmux.git master > /dev/null; then
# tpm_plugins=$(cat << EOF | tr ' ' '\n' | awk '/^\s*$/ {next;}; !seen[$0]++ { gsub(/^[ \t]+/,"",$0); gsub(/[ \t]+$/,"",$0); print $0 }'
# $(awk '/^[ \t]*set(-option)?.*[ \t]@plugin[ \t]/ { gsub(/'\''/, ""); gsub(/'\"'/, ""); print $NF }' "$TMUX_CONF_LOCAL" 2>/dev/null)