diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zprofile | 6 | ||||
-rw-r--r-- | zsh/zshrc | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/zsh/zprofile b/zsh/zprofile index b61ca248..95214ef6 100644 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -1 +1,5 @@ -exec bash -l +# Zsh doesn't source ~/.profile by default, even when this file is absent. +# <https://sanctum.geek.nz/images/identifying-heresy.jpg> +if [[ -e $HOME/.profile ]] ; then + source "$HOME"/.profile +fi @@ -1 +1,8 @@ -exec bash +# Emacs keybindings even if EDITOR is vi(1) +bindkey -e + +# History settings +setopt histignorealldups sharehistory +HISTSIZE=$((1 << 12)) +SAVEHIST=$((1 << 24)) +HISTFILE=$HOME/.zsh_history |