Mercurial > ec-dotfiles
annotate rc/zshrc @ 623:0f0bdbd8d37d
Update syntax files
Additionally nginx repo fixed their cookie thingie.
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 04 Mar 2019 20:01:03 +0900 |
parents | 77c1f9e624a3 |
children |
rev | line source |
---|---|
64 | 1 #!/usr/bin/env zsh |
533
77c1f9e624a3
Rename prefix to `.ec.` instead of `.ecos_`.
edogawaconan <me@myconan.net>
parents:
332
diff
changeset
|
2 [ -f "${HOME}/.ec.zsh.before" ] && . "${HOME}/.ec.zsh.before" |
68 | 3 case $TERM in |
4 xterm*|screen*) | |
5 precmd () {print -Pn "\e]0;%n@%m: %~\a"} | |
6 ;; | |
7 esac | |
64 | 8 PS1='[%n@%m %~]%% ' |
533
77c1f9e624a3
Rename prefix to `.ec.` instead of `.ecos_`.
edogawaconan <me@myconan.net>
parents:
332
diff
changeset
|
9 export PATH="${HOME}/.ec.bin:${PATH}" |
66 | 10 HISTFILE=~/.histfile |
11 HISTSIZE=10000 | |
12 SAVEHIST=10000 | |
13 setopt appendhistory nomatch | |
14 unsetopt autocd beep extendedglob notify | |
15 bindkey -e | |
73
d9aace34d144
[zsh] Bindkey sanity. Still not sane enough.
Edho Prima Arief <me@myconan.net>
parents:
69
diff
changeset
|
16 bindkey '^[[A' history-search-backward |
d9aace34d144
[zsh] Bindkey sanity. Still not sane enough.
Edho Prima Arief <me@myconan.net>
parents:
69
diff
changeset
|
17 bindkey '^[[B' history-search-forward |
d9aace34d144
[zsh] Bindkey sanity. Still not sane enough.
Edho Prima Arief <me@myconan.net>
parents:
69
diff
changeset
|
18 |
66 | 19 autoload -Uz compinit |
20 compinit | |
21 | |
69 | 22 export EDITOR=vi |
23 export PAGER='less -Rins' | |
24 alias less='less -Rins' | |
64 | 25 alias ls='ls -F' |
533
77c1f9e624a3
Rename prefix to `.ec.` instead of `.ecos_`.
edogawaconan <me@myconan.net>
parents:
332
diff
changeset
|
26 [ -f "${HOME}/.ec.zsh.after" ] && . "${HOME}/.ec.zsh.after" |