More adjustments to zsh setup

This commit is contained in:
Steven Lu 2013-07-11 17:07:07 -04:00
commit 9029adb9c6
3 changed files with 5 additions and 4 deletions

View file

@ -14,6 +14,7 @@ alias please='sudo'
# Show history
# alias history='fc -l 1'
alias his = 'fc -l 1'
# List direcory contents
alias lsa='ls -lah'

View file

@ -2,8 +2,8 @@
if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=100000
SAVEHIST=100000
HISTSIZE=200000
SAVEHIST=2000000
setopt append_history
setopt extended_history

View file

@ -1,8 +1,8 @@
alias h='history'
alias h='his'
function hs
{
history | grep $*
h | grep $*
}
alias hsi='hs -i'