view zshrc-epm @ 139:d683d08cf8e0

Automated merge with https://localhost/hg/zsh-env
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 04 Jul 2018 17:03:00 +0200
parents 4a181ed71eb5
children 279d1363e918
line wrap: on
line source

#
# zshrc-epm: custom shell environment for EPM
#

export EDITOR="nano"
export JAVA_HOME=/exentra/java
export PATH="$JAVA_HOME/bin":"$PATH"

. /etc/profile.d/exentra.sh

# EPM_LOCATION/EX_LOCATION is set through /etc/profile.d/exentra.sh
if [[ "$EX_LOCATION" != "" ]]; then
	export PS1="%n@${EX_LOCATION}%# "
else
	export PS1="%n@${EPM_LOCATION}%# "
fi
alias fw="sudo iptables --line-numbers -vnL"
alias sex="screen -r exentra"
alias sue="sudo -u exentra -i"