diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 16:17:41 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 16:17:41 +1300 |
commit | 9c0e7d95be170361cf669664f19efa42d687d9bb (patch) | |
tree | 9b54e4aa1bba19924f961ae725aa0fa95c3b9266 | |
parent | Merge branch 'release/v10.15.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-9c0e7d95be170361cf669664f19efa42d687d9bb.tar.gz dotfiles-9c0e7d95be170361cf669664f19efa42d687d9bb.zip |
Merge branch 'release/v10.16.0'v10.16.0
* release/v10.16.0:
Use inline integers rather than bit shifting
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | bash/bashrc | 2 | ||||
-rw-r--r-- | bin/mktd.sh | 2 | ||||
-rw-r--r-- | sh/shrc | 2 | ||||
-rw-r--r-- | zsh/zshrc | 2 |
5 files changed, 6 insertions, 6 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v10.15.0 -Thu, 12 Nov 2020 11:15:17 +0000 +tejr dotfiles v10.16.0 +Fri, 13 Nov 2020 03:17:38 +0000 diff --git a/bash/bashrc b/bash/bashrc index 6e4c31a9..a60a047e 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -29,7 +29,7 @@ fi unset -f command_not_found_handle # Keep around 32K lines of history in file -HISTFILESIZE=$((1 << 15)) +HISTFILESIZE=32768 # Ignore duplicate commands HISTCONTROL=ignoredups diff --git a/bin/mktd.sh b/bin/mktd.sh index 72375873..c2ba2ee2 100644 --- a/bin/mktd.sh +++ b/bin/mktd.sh @@ -2,7 +2,7 @@ # Build the intended directory name, with the last element a random integer # from 1..2^31 -lim=$((2 << 31)) +lim=2147483648 dn=${TMPDIR:-/tmp}/${1:-mktd}.$$.$(rndi 1 "$lim") # Create the directory and print its name if successful @@ -5,7 +5,7 @@ command -p mesg n 2>/dev/null command -p stty -ixon -ctlecho 2>/dev/null # Keep around 4K lines of history in memory -HISTSIZE=$((1 << 12)) +HISTSIZE=4096 # If HOSTNAME isn't set by this shell, we'll do it if [ -z "$HOSTNAME" ] ; then @@ -15,7 +15,7 @@ bindkey -e # History settings setopt histignorealldups sharehistory HISTFILE=$HOME/.zsh_history -SAVEHIST=$((1 << 12)) +SAVEHIST=4096 # Load Zsh-specific startup files for zsh in "$HOME"/.zshrc.d/*.zsh(N) ; do |