improve interop between zsh and bash
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
if [[ -n "$BASH_VERSION" ]]; then
|
||||
shopt -s checkwinsize
|
||||
fi
|
||||
|
||||
# If set, the pattern "**" used in a pathname expansion context will
|
||||
# match all files and zero or more directories and subdirectories.
|
||||
@@ -21,7 +23,9 @@ esac
|
||||
HISTCONTROL=ignoreboth
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
if [[ -n "$BASH_VERSION" ]]; then
|
||||
shopt -s histappend
|
||||
fi
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
|
||||
Reference in New Issue
Block a user