mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03: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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user