view zshrc-epm @ 133:4a181ed71eb5

use EX_LOCATION if defined, fall back to EPM_LOCATION
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 19 Jun 2018 07:50:16 +0200
parents ca2b58d0a32f
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"