annotate zshrc-quad64 @ 160:c35d56590441

add the two helper scripts for gentoo that are requied on all hosts
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 23 Dec 2019 11:41:35 +0100
parents 9223e71009e4
children
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
113
9223e71009e4 changes for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents: 78
diff changeset
5 . $HOME/.zsh-env/zshrc-gentoo
11
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
6 . $HOME/.zsh-env/zshrc-jdk
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
7 . $HOME/.zsh-env/zshrc-maven
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
8
78
60c4b60b2945 define the build number that is used in our deployment packages
Dirk Olmes <dirk.olmes@exentra.de>
parents: 31
diff changeset
9 export BUILD_NUMBER=0000
113
9223e71009e4 changes for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents: 78
diff changeset
10 #export MANPAGER=most
11
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
11 export PATH="$HOME/bin:${PATH}"
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
12 export PGUSER=postgres
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
13
31
d12335ed421a make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents: 30
diff changeset
14 bindkey '^[[1~' beginning-of-line
d12335ed421a make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents: 30
diff changeset
15 bindkey '^[[H' beginning-of-line
d12335ed421a make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents: 30
diff changeset
16 bindkey '^[[4~' end-of-line
d12335ed421a make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents: 30
diff changeset
17 bindkey '^[[F' end-of-line
d12335ed421a make the pos1 and end keys work
Dirk Olmes <dirk.olmes@exentra.de>
parents: 30
diff changeset
18
11
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 # aliases
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
21 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
22 alias bzip=pbzip2
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
23 alias cvscheck='sh -c "cvs -n update 2>&1 | grep \?"'
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
24 alias cvsupdate='cvs -q -z3 update -dP | egrep -v "^\?.*\.d"'
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
25 alias df="df -h"
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
26 alias env="env | sort | $PAGER"
113
9223e71009e4 changes for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents: 78
diff changeset
27 alias top="htop -C"
11
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
28
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 # functions to be used directly from the command line
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
31 #
fb0e9740a20c add environment for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents:
diff changeset
32 cvsrm() { rm "$@"; cvs remove "$@" }
113
9223e71009e4 changes for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents: 78
diff changeset
33 kcs() { source $HOME/.keychain/$(hostname -f)-sh }
9223e71009e4 changes for quad64
Dirk Olmes <dirk.olmes@exentra.de>
parents: 78
diff changeset
34