mirror of
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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