Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

checkwinsize equivalent in zsh?

I am migrating from bash to zsh and as part of that I am transitioning over my dotfiles. Is there an equivalent to "checkwinsize" in zsh? I couldn't find one after searching, the relevant code in my .bashrc is

shopt -s checkwinsize

I tried

setopt -s checkwinsize

to no avail. It might be the case that this option isn't needed in zsh (my understanding is that this fixes some sort of bash bug with resizing the windows after exiting an editor).

like image 815
Andrew Avatar asked Jun 05 '15 22:06

Andrew


1 Answers

Zsh doesn't have that option - at least, there's no mention of it in the Z Shell Manual (Chapter 16:Options).

If you see issues with your terminal after resizing the window I guess reset is always an option!

like image 63
bgstech Avatar answered Oct 12 '22 23:10

bgstech