Mercurial > ec-dotfiles
comparison rc/zshrc @ 533:77c1f9e624a3
Rename prefix to `.ec.` instead of `.ecos_`.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 25 Nov 2014 15:03:54 +0900 |
parents | db66d53e10ea |
children |
comparison
equal
deleted
inserted
replaced
532:d77f4aa65251 | 533:77c1f9e624a3 |
---|---|
1 #!/usr/bin/env zsh | 1 #!/usr/bin/env zsh |
2 [ -f "${HOME}/.ecos_zsh.before" ] && . "${HOME}/.ecos_zsh.before" | 2 [ -f "${HOME}/.ec.zsh.before" ] && . "${HOME}/.ec.zsh.before" |
3 case $TERM in | 3 case $TERM in |
4 xterm*|screen*) | 4 xterm*|screen*) |
5 precmd () {print -Pn "\e]0;%n@%m: %~\a"} | 5 precmd () {print -Pn "\e]0;%n@%m: %~\a"} |
6 ;; | 6 ;; |
7 esac | 7 esac |
8 PS1='[%n@%m %~]%% ' | 8 PS1='[%n@%m %~]%% ' |
9 export PATH="${HOME}/.ecos_bin:${PATH}" | 9 export PATH="${HOME}/.ec.bin:${PATH}" |
10 HISTFILE=~/.histfile | 10 HISTFILE=~/.histfile |
11 HISTSIZE=10000 | 11 HISTSIZE=10000 |
12 SAVEHIST=10000 | 12 SAVEHIST=10000 |
13 setopt appendhistory nomatch | 13 setopt appendhistory nomatch |
14 unsetopt autocd beep extendedglob notify | 14 unsetopt autocd beep extendedglob notify |
21 | 21 |
22 export EDITOR=vi | 22 export EDITOR=vi |
23 export PAGER='less -Rins' | 23 export PAGER='less -Rins' |
24 alias less='less -Rins' | 24 alias less='less -Rins' |
25 alias ls='ls -F' | 25 alias ls='ls -F' |
26 [ -f "${HOME}/.ecos_zsh.after" ] && . "${HOME}/.ecos_zsh.after" | 26 [ -f "${HOME}/.ec.zsh.after" ] && . "${HOME}/.ec.zsh.after" |