Mercurial > hg > zsh-env
comparison 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 |
comparison
equal
deleted
inserted
replaced
132:7f20ec5f5726 | 133:4a181ed71eb5 |
---|---|
6 export JAVA_HOME=/exentra/java | 6 export JAVA_HOME=/exentra/java |
7 export PATH="$JAVA_HOME/bin":"$PATH" | 7 export PATH="$JAVA_HOME/bin":"$PATH" |
8 | 8 |
9 . /etc/profile.d/exentra.sh | 9 . /etc/profile.d/exentra.sh |
10 | 10 |
11 # EPM_LOCATION is set through /etc/profile.d/exentra.sh | 11 # EPM_LOCATION/EX_LOCATION is set through /etc/profile.d/exentra.sh |
12 export PS1="%n@${EX_LOCATION}%# " | 12 if [[ "$EX_LOCATION" != "" ]]; then |
13 | 13 export PS1="%n@${EX_LOCATION}%# " |
14 else | |
15 export PS1="%n@${EPM_LOCATION}%# " | |
16 fi | |
14 alias fw="sudo iptables --line-numbers -vnL" | 17 alias fw="sudo iptables --line-numbers -vnL" |
15 alias sex="screen -r exentra" | 18 alias sex="screen -r exentra" |
16 alias sue="sudo -u exentra -i" | 19 alias sue="sudo -u exentra -i" |