annotate zshrc-quad64 @ 31:d12335ed421a

make the pos1 and end keys work
author Dirk Olmes <dirk.olmes@exentra.de>
date Fri, 30 Nov 2012 10:20:25 +0100
parents c58e6033e2cb
children 60c4b60b2945
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
1 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
2 # zshrc for quad64
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
3 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
4
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
5 . $HOME/.zsh-env/zshrc-jdk
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
6 . $HOME/.zsh-env/zshrc-maven
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
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
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
9 export PATH="$HOME/bin:${PATH}"
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
10 export PGUSER=postgres
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
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
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
17 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
18 # aliases
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
19 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
20 alias bzip=pbzip2
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
21 alias cvscheck='sh -c "cvs -n update 2>&1 | grep \?"'
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
22 alias cvsupdate='cvs -q -z3 update -dP | egrep -v "^\?.*\.d"'
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
23 alias df="df -h"
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
24 alias env="env | sort | $PAGER"
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
25 alias top=htop
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
26
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
27 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
28 # functions to be used directly from the command line
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
29 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
30 cvsrm() { rm "$@"; cvs remove "$@" }