mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 01:52:49 +08:00
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:
parent
7f7cfcf339
commit
c55865f76e
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue
Block a user