set homedir explicit for different systems

Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
Michael Grote 2024-05-28 08:36:27 +02:00
parent 2ab19ee552
commit 15e4bc7e5d

View file

@ -3,6 +3,13 @@
# deaktiviere alias von ll, wird von mir explizit gesetzt
unalias ll 2>/dev/null
# setze Prefix für homedir, da NFS an verschiedenen Stellen gemountet ist
if [ "$HOSTNAME" = lzeorpt001 ]; then
homedir_prefix="/homes/MGMT/grotemi-admin"
else
homedir_prefix="/home/.autofs/lunixpf001/home-linux/grotemi-admin"
fi
# source extra files
source "${HOME}/dotfiles/.bash_aliases"
source "${HOME}/dotfiles/.bash_functions"