.zshrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 06 Oct 2011 17:25:48 +0300
changeset 221 aa682f0b1e7b
parent 215 7b1b6872e92e
child 243 843cc9d49dc2
permissions -rw-r--r--
Show host name to distinct local and remote shell (when ssh was used).


if [[ -e /etc/zshrc ]]; then
. /etc/zshrc
fi

EDITOR=vim

PS1='zsh# '

# Easy cd to often used dirs.
CDPATH=.:~:~/devel:~/devel/my-devel

HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000

setopt autocd beep extendedglob nomatch notify

setopt hist_ignore_all_dups
setopt append_history
setopt hist_ignore_space
setopt hist_no_functions

autoload -U edit-command-line
zle -N edit-command-line
bindkey '\ee' edit-command-line

# Emacs like editing.
bindkey -e