diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 10:45:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 10:45:44 +1200 |
commit | 34718fe355308b03c4eecdca9dc69bb22ded433a (patch) | |
tree | f877925eefc7e391e86c52efdca9c47cc682e229 | |
parent | Change rule order in kvlt(6) (diff) | |
download | dotfiles-34718fe355308b03c4eecdca9dc69bb22ded433a.tar.gz dotfiles-34718fe355308b03c4eecdca9dc69bb22ded433a.zip |
Instate some actual real zsh configuration
-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 |