Mercurial > ec-dotfiles
view rc/zsh @ 273:cf23a637f3a5
Supervisor support. Added on last since I usually install it in virtualenv
(hence it has its own python).
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sat, 03 Dec 2011 00:47:24 +0700 |
parents | a7484f2c9616 |
children |
line wrap: on
line source
#!/usr/bin/env zsh [ -f "${HOME}/.ecos_zsh.before" ] && . "${HOME}/.ecos_zsh.before" case $TERM in xterm*|screen*) precmd () {print -Pn "\e]0;%n@%m: %~\a"} ;; esac PS1='[%n@%m %~]%% ' export PATH="${HOME}/.ecos_bin:${PATH}" HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory nomatch unsetopt autocd beep extendedglob notify bindkey -e bindkey '^[[A' history-search-backward bindkey '^[[B' history-search-forward autoload -Uz compinit compinit export EDITOR=vi export PAGER='less -Rins' alias less='less -Rins' alias ls='ls -F' [ -f "${HOME}/.ecos_zsh.after" ] && . "${HOME}/.ecos_zsh.after"