view zshrc-epm @ 170:95e349996727

Add a script for setting up the shell environment on a naked home. Use a global .hgrc that has a hook for local includes per machine.
author Dirk Olmes <dirk.olmes@codedo.de>
date Sat, 04 Apr 2020 03:53:18 +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"