diff --git a/.tmux.conf b/.tmux.conf index c1fa09c..64b6087 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -267,7 +267,6 @@ 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 -# current_pane_height=$(tmux display -t "$current_pane" -p "#{pane_height}") # info=$(tmux new-window -t "$current_session:" -F "#{session_name}:#{window_index}.#{pane_id}" -P "maximized... 2>/dev/null & \"$TMUX_PROGRAM\" ${TMUX_SOCKET:+-S \"$TMUX_SOCKET\"} setw -t \"$current_session:\" remain-on-exit on; printf \"\\033[\$(tput lines);0fPane has been maximized, press + to restore\n\" '$current_pane'") # session_window=${info%.*} # new_pane=${info#*.}