Change use of tmux's resize-window to resize-pane

I believe they are both equivalent for our particular purpose, since we
only care about enforcing the size fish sees.

`resize-window` was only introduced in tmux 2.9, which isn't available
at least on Ubuntu 18.04 LTS (currently using tmux 2.6) and probably
many others.

(Clever idea to use tmux here!)
This commit is contained in:
Mahmoud Al-Qudsi 2021-03-23 00:39:17 -05:00
parent 7f7cfcf339
commit c55865f76e

View File

@ -17,7 +17,7 @@ $tmux new-session -d $fish -C '
# No autosuggestion from older history.
set fish_history ""
'
$tmux resize-window -x 80 -y 10
$tmux resize-pane -x 80 -y 10
$sleep # Let fish draw a prompt.
# Don't escape existing token (#7526).