1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

removed tmux <= 2.0 feature tests that cause orphan processes when using oh-my-zsh. Fixes #84 and #88

This commit is contained in:
Gregory Pakosz 2017-06-21 13:41:43 +02:00
parent 08072d0915
commit 68f1509735

View file

@ -677,12 +677,6 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# $(tmux list-keys 2>/dev/null | grep -e 'new-session') # $(tmux list-keys 2>/dev/null | grep -e 'new-session')
# EOF # EOF
# #
# if tmux -q -L swap-pane-test -f /dev/null new-session -d \; new-window \; new-window \; swap-pane -t :1 \; kill-session; then
# tmux bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane #{session_name} #D'
# else
# tmux bind + display 'your tmux version has a buggy swap-pane command - see ticket #108, fixed in upstream commit 78e783e'
# fi
#
# tmux_conf_copy_to_os_clipboard=${tmux_conf_copy_to_os_clipboard:-false} # tmux_conf_copy_to_os_clipboard=${tmux_conf_copy_to_os_clipboard:-false}
# command -v pbcopy > /dev/null 2>&1 && command='pbcopy' # command -v pbcopy > /dev/null 2>&1 && command='pbcopy'
# command -v reattach-to-user-namespace > /dev/null 2>&1 && command='reattach-to-user-namespace pbcopy' # command -v reattach-to-user-namespace > /dev/null 2>&1 && command='reattach-to-user-namespace pbcopy'
@ -919,17 +913,6 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# $tmux_conf_theme_status_left # $tmux_conf_theme_status_left
# EOF # EOF
# ) # )
#
# # are we running a tmux in between v1.9 and v2.0?
# if [ x"$(tmux -q -L tmux_theme_status_left_test -f /dev/null new-session -d \; show -g -v status-left \; kill-session)" = x"[#S] " ]; then
# case "$status_left" in
# *\ )
# ;;
# *)
# status_left="$status_left "
# ;;
# esac
# fi
# fi # fi
# #
# # -- status right style # # -- status right style