2008-03-16 21:02:24 +00:00
|
|
|
# Copyright (C) 2004 Gabriel Ebner
|
|
|
|
# vim:fdm=marker:
|
|
|
|
|
2011-04-30 18:21:21 +00:00
|
|
|
. ~/.commonshrc
|
2008-03-16 21:02:24 +00:00
|
|
|
fpath=(~/.zfuncs $fpath)
|
|
|
|
|
|
|
|
# ZLE {{{1
|
|
|
|
bindkey '\e[3~' delete-char
|
|
|
|
bindkey "\e[1~" beginning-of-line
|
|
|
|
bindkey "\e[4~" end-of-line
|
2011-02-21 15:18:20 +00:00
|
|
|
bindkey "\eOH" beginning-of-line
|
|
|
|
bindkey "\eOF" end-of-line
|
2008-03-16 21:02:24 +00:00
|
|
|
setopt printeightbit
|
|
|
|
|
|
|
|
# Prompt {{{1
|
|
|
|
autoload -U promptinit
|
|
|
|
promptinit
|
|
|
|
prompt gebner
|
|
|
|
|
|
|
|
# Window Title {{{1
|
|
|
|
chpwd() { [[ -t 1 ]] && print -Pn '\e]2;%n@%m:%~\a' }; chpwd
|
|
|
|
|
|
|
|
# History {{{1
|
|
|
|
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
|
2010-03-18 10:06:24 +00:00
|
|
|
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
|
2008-03-16 21:02:24 +00:00
|
|
|
HISTSIZE=100000
|
|
|
|
SAVEHIST=100000
|
|
|
|
HISTFILE=~/.zhist
|
|
|
|
|
|
|
|
# Completion {{{1
|
|
|
|
|
|
|
|
# The following lines were added by compinstall
|
|
|
|
zstyle ':completion:*' completer _complete
|
|
|
|
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
|
|
|
zstyle :compinstall filename '/home/gebner/.zshrc'
|
|
|
|
|
|
|
|
autoload -U compinit
|
|
|
|
compinit
|
|
|
|
# End of lines added by compinstall
|