diff options
-rw-r--r-- | bash/bashrc | 6 | ||||
-rw-r--r-- | sh/shrc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bash/bashrc b/bash/bashrc index a62f2251..a48a9081 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -19,18 +19,12 @@ shopt -q restricted_shell && return # Keep around 32K lines of history in file HISTFILESIZE=$((1 << 15)) -# Keep around 4K lines of history in memory -HISTSIZE=$((1 << 12)) - # Ignore duplicate commands and whitespace in history HISTCONTROL=ignoreboth # Keep the times of the commands in history HISTTIMEFORMAT='%F %T ' -# Don't warn me about new mail -unset -v MAILCHECK - # Use a more compact format for the time builtin's output TIMEFORMAT='real:%lR user:%lU sys:%lS' @@ -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 |