view zshrc-cassiopeia @ 19:f5c6324fc952

remove aliases only if they exist
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 26 Jan 2012 16:32:35 +0100
parents 4c75712619f3
children 7593aefb6142
line wrap: on
line source

#
# zshrc for cassiopeia
#

. $HOME/.zsh-env/zshrc-jdk
. $HOME/.zsh-env/zshrc-maven
. /usr/local/GNUstep/share/GNUstep/Makefiles/GNUstep.sh

export ANT_HOME=/usr/share/ant-bin
export MULE_TEST_OPTS="-Dmule.verbose=false"
export MULE_TEST_TIMEOUTSECS=9999
export PATH="$HOME/bin:${PATH}"
export PGUSER=postgres

#
# 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 host=hostx
alias top=htop

#
# functions to be used directly from the command line
#
cvsrm() { rm "$@"; cvs remove "$@" }
ed() { kate -u "$@" > /dev/null 2>&1 & }