view 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
line wrap: on
line source

#
# zshrc for quad64
#

. $HOME/.zsh-env/zshrc-gentoo
. $HOME/.zsh-env/zshrc-jdk
. $HOME/.zsh-env/zshrc-maven

export BUILD_NUMBER=0000
#export MANPAGER=most
export PATH="$HOME/bin:${PATH}"
export PGUSER=postgres

bindkey '^[[1~' beginning-of-line
bindkey '^[[H'  beginning-of-line
bindkey '^[[4~' end-of-line
bindkey '^[[F'  end-of-line

#
# aliases
#
alias bzip=pbzip2
alias cvscheck='sh -c "cvs -n update 2>&1 | grep \?"'
alias cvsupdate='cvs -q -z3 update -dP | egrep -v "^\?.*\.d"'
alias df="df -h"
alias env="env | sort | $PAGER"
alias top="htop -C"

#
# functions to be used directly from the command line
#
cvsrm() { rm "$@"; cvs remove "$@" }
kcs() { source $HOME/.keychain/$(hostname -f)-sh }