From 34718fe355308b03c4eecdca9dc69bb22ded433a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 15 Aug 2016 10:45:44 +1200 Subject: Instate some actual real zsh configuration --- zsh/zprofile | 6 +++++- zsh/zshrc | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'zsh') 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. +# +if [[ -e $HOME/.profile ]] ; then + source "$HOME"/.profile +fi diff --git a/zsh/zshrc b/zsh/zshrc index a2a3d4ca..a5b8dd7e 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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 -- cgit v1.2.3