.zshrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 31 Oct 2012 10:20:28 +0200
changeset 580 34b0b3232025
parent 245 aefd2167af31
child 651 649cbbab7ded
permissions -rw-r--r--
* Load Emacs and Firefox automatically. * Load timer first. * Load Emacs second as it can load long time. * SkipMapping was not added to emacs to give focus it.


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

bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward

autoload -U compinit
compinit

# autoload -U promptinit
# promptinit
# prompt walters