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:
parent
d33cd121e9
commit
fd3dde9bcd
1 changed files with 5 additions and 1 deletions
|
@ -175,9 +175,13 @@ run 'cut -c3- "#{TMUX_CONF}" | sh -s _apply_configuration'
|
|||
#
|
||||
# [ -z "$TMUX" ] && exit 666
|
||||
# TMUX_SOCKET=$(printf '%s' "$TMUX" | cut -d, -f1)
|
||||
#
|
||||
# if [ -z "$TMUX_EXECUTABLE" ]; then
|
||||
# TMUX_PID=$(printf '%s' "$TMUX" | cut -d, -f2)
|
||||
# TMUX_EXECUTABLE=$(lsof -b -w -a -d txt -p "$TMUX_PID" -Fn 2>/dev/null | perl -n -e "do { print; last } if $R += s/^n((?:.(?!dylib$|so$))+)$/\1/g; END { exit 1 unless $R > 0}" || printf 'command tmux')
|
||||
# TMUX_EXECUTABLE=$(lsof -b -w -a -d txt -p "$TMUX_PID" -Fn 2>/dev/null | perl -n -e "do { print; last } if $R += s/^n((?:.(?!dylib$|so$))+)$/\1/g; END { exit 1 unless $R > 0}" || printf tmux)
|
||||
# fi
|
||||
# if [ x"$TMUX_EXECUTABLE" = x"tmux" ]; then
|
||||
# TMUX_EXECUTABLE="command tmux"
|
||||
# fi
|
||||
#
|
||||
# tmux() {
|
||||
|
|
Loading…
Reference in a new issue