1
0
Fork 0
mirror of synced 2024-05-26 20:11:09 -04:00

fixed stderr redirection bug in _maximize_pane(). Fixes #116

This commit is contained in:
Gregory Pakosz 2017-11-18 12:40:43 +01:00
parent 4cf765468a
commit 5907c00039

View file

@ -202,7 +202,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
#
# if [ -z "$restore" ]; then
# [ "$(tmux list-panes -t "$current_session:" | wc -l | sed 's/^ *//g')" -eq 1 ] && tmux display "Can't maximize with only one pane" && return
# window=$(tmux new-window -t "$current_session:" -P "exec maximized... 3> /dev/null & tmux setw -t \"$current_session:\" remain-on-exit on; printf \"Pane has been maximized, press <prefix>+ to restore. %s\" '$current_pane'")
# window=$(tmux new-window -t "$current_session:" -P "exec maximized... 2> /dev/null & tmux setw -t \"$current_session:\" remain-on-exit on; printf \"Pane has been maximized, press <prefix>+ to restore. %s\" '$current_pane'")
# window=${window%.*}
#
# guard=10