comparison rc/bashrc @ 587:394f19c180a2

Ensure correct terminal size variables
author nanaya <me@myconan.net>
date Tue, 31 May 2016 21:33:55 +0900
parents 4130d41c6acb
children 756cfd9f5bc8
comparison
equal deleted inserted replaced
586:ecff9d2c0500 587:394f19c180a2
12 fi 12 fi
13 13
14 [ -f "${HOME}/.ec.bash.before" ] && . "${HOME}/.ec.bash.before" 14 [ -f "${HOME}/.ec.bash.before" ] && . "${HOME}/.ec.bash.before"
15 15
16 _org_path="${PATH}" 16 _org_path="${PATH}"
17
18 # ensure correct window size at all time
19 # noticeably in FreebSD + tmux + vim:
20 # 1. start tmux
21 # 2. start vim in the session
22 # 3. split pane
23 # 4. quit vim
24 # 5. wrong COLUMNS or LINES
25 shopt -s checkwinsize
17 26
18 # Basic PATH 27 # Basic PATH
19 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games" 28 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games"
20 29
21 _os="$(uname -s)" 30 _os="$(uname -s)"