1
0
Fork 0
mirror of synced 2024-11-17 23:15:35 -05:00

fixed maximize pane not succeeding in maximizing the current pane

This commit is contained in:
Gregory Pakosz 2017-02-28 15:42:32 +01:00
parent 5746e69af7
commit 3ef7fe67b5

View file

@ -176,7 +176,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... 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=$(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