diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 16:49:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 16:49:47 +1200 |
commit | 3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc (patch) | |
tree | 406379059f46fde6578d68629b7cb713a9a99eca /sh/shrc | |
parent | Add an idea (diff) | |
download | dotfiles-3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc.tar.gz dotfiles-3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc.zip |
Move HISTSIZE and MAILCHECK to shrc
Turns out they're POSIX variables!
Diffstat (limited to 'sh/shrc')
-rw-r--r-- | sh/shrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -13,6 +13,12 @@ command -p setterm -bfreq -blength 2>/dev/null # Turn off flow control and control character echo command -p stty -ixon -ctlecho 2>/dev/null +# Keep around 4K lines of history in memory +HISTSIZE=$((1 << 12)) + +# Don't warn me about new mail +unset -v MAILCHECK + # Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells # like bash will have their own functions for sh in "$HOME"/.shrc.d/*.sh ; do |