view zshrc-epm @ 169:2cc8820caae0

extend the distribution detection mechanism
author Dirk Olmes <dirk.olmes@codedo.de>
date Sat, 04 Apr 2020 03:17:41 +0200
parents 279d1363e918
children
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 sue="sudo -u exentra -i"