Update zshrc to use oh-my-zsh.
This commit is contained in:
parent
135185367f
commit
b1f95afabb
37
zshrc
37
zshrc
@ -1,39 +1,20 @@
|
|||||||
# Copyright (C) 2004 Gabriel Ebner
|
# Copyright (C) 2004-2011 Gabriel Ebner
|
||||||
# vim:fdm=marker:
|
|
||||||
|
|
||||||
. ~/.commonshrc
|
. ~/.commonshrc
|
||||||
fpath=(~/.zfuncs $fpath)
|
|
||||||
|
|
||||||
# ZLE {{{1
|
# oh-my-zsh
|
||||||
bindkey '\e[3~' delete-char
|
export ZSH=$HOME/etc/oh-my-zsh
|
||||||
bindkey "\e[1~" beginning-of-line
|
|
||||||
bindkey "\e[4~" end-of-line
|
|
||||||
bindkey "\eOH" beginning-of-line
|
|
||||||
bindkey "\eOF" end-of-line
|
|
||||||
setopt printeightbit
|
|
||||||
|
|
||||||
# Prompt {{{1
|
export ZSH_THEME=afowler
|
||||||
autoload -U promptinit
|
export DISABLE_AUTO_UPDATE=true
|
||||||
promptinit
|
|
||||||
prompt gebner
|
|
||||||
|
|
||||||
# Window Title {{{1
|
plugins=(git ant deb debian gem git git-flow github perl rails3 ruby)
|
||||||
chpwd() { [[ -t 1 ]] && print -Pn '\e]2;%n@%m:%~\a' }; chpwd
|
|
||||||
|
|
||||||
# History {{{1
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# History
|
||||||
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
|
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
|
||||||
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
|
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
|
||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
SAVEHIST=100000
|
SAVEHIST=100000
|
||||||
HISTFILE=~/.zhist
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user