Mercurial > hg > zsh-env
annotate zshrc-quad64 @ 55:bc9e88b0be4a
add an alias for less
| author | Dirk Olmes <dirk@xanthippe.ping.de> |
|---|---|
| date | Fri, 21 Nov 2014 07:47:09 +0100 |
| parents | d12335ed421a |
| children | 60c4b60b2945 |
| rev | line source |
|---|---|
| 11 | 1 # |
| 2 # zshrc for quad64 | |
| 3 # | |
| 4 | |
| 5 . $HOME/.zsh-env/zshrc-jdk | |
| 6 . $HOME/.zsh-env/zshrc-maven | |
| 7 | |
|
28
8f29a32fcdcb
use a different pager for man (one that properly displays colors)
Dirk Olmes <dirk.olmes@exentra.de>
parents:
11
diff
changeset
|
8 export MANPAGER=most |
| 11 | 9 export PATH="$HOME/bin:${PATH}" |
| 10 export PGUSER=postgres | |
| 11 | |
|
31
d12335ed421a
make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents:
30
diff
changeset
|
12 bindkey '^[[1~' beginning-of-line |
|
d12335ed421a
make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents:
30
diff
changeset
|
13 bindkey '^[[H' beginning-of-line |
|
d12335ed421a
make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents:
30
diff
changeset
|
14 bindkey '^[[4~' end-of-line |
|
d12335ed421a
make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents:
30
diff
changeset
|
15 bindkey '^[[F' end-of-line |
|
d12335ed421a
make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents:
30
diff
changeset
|
16 |
| 11 | 17 # |
| 18 # aliases | |
| 19 # | |
| 20 alias bzip=pbzip2 | |
| 21 alias cvscheck='sh -c "cvs -n update 2>&1 | grep \?"' | |
| 22 alias cvsupdate='cvs -q -z3 update -dP | egrep -v "^\?.*\.d"' | |
| 23 alias df="df -h" | |
| 24 alias env="env | sort | $PAGER" | |
| 25 alias top=htop | |
| 26 | |
| 27 # | |
| 28 # functions to be used directly from the command line | |
| 29 # | |
| 30 cvsrm() { rm "$@"; cvs remove "$@" } |
