view zshrc-epm @ 187:7d3c872681cb

more braucht jetzt eine Option, damit am Ende "rausgefallen" wird
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 14 Mar 2023 07:19:11 +0100
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"