view zshrc-quad64 @ 158:08620c68ca55

add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 14 Dec 2019 06:13:05 +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 }