diff zshrc-epm @ 46:1cbbe8b41622

zshrc for EPM
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 04 Mar 2014 09:43:43 +0100
parents
children d7dbed316e60
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zshrc-epm	Tue Mar 04 09:43:43 2014 +0100
@@ -0,0 +1,15 @@
+#
+# 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 is set through /etc/profile.d/exentra.sh
+export PS1="%n@${EPM_LOCATION}%# "
+
+alias fw="sudo iptables --line-numbers -vnL"
+alias sue="sudo -u exentra -i"