# HG changeset patch # User nanaya # Date 1464698035 -32400 # Node ID 394f19c180a27b144ea20667c1804ad578d10943 # Parent ecff9d2c0500164496cfd47e073a2b7e458db3fb Ensure correct terminal size variables diff -r ecff9d2c0500 -r 394f19c180a2 rc/bashrc --- a/rc/bashrc Mon May 16 18:21:24 2016 +0900 +++ b/rc/bashrc Tue May 31 21:33:55 2016 +0900 @@ -15,6 +15,15 @@ _org_path="${PATH}" +# ensure correct window size at all time +# noticeably in FreebSD + tmux + vim: +# 1. start tmux +# 2. start vim in the session +# 3. split pane +# 4. quit vim +# 5. wrong COLUMNS or LINES +shopt -s checkwinsize + # Basic PATH export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games"