Compare commits
No commits in common. "3c8f4ef49af9517d6d6cb89ca2a95317120d89d1" and "41772cbe43410ed15aa1832a01ffd7a5a875c91b" have entirely different histories.
3c8f4ef49a
...
41772cbe43
1 changed files with 11 additions and 4 deletions
15
.bash_extra
15
.bash_extra
|
@ -3,14 +3,21 @@
|
|||
# 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}/repos/dotfiles/.bash_aliases"
|
||||
source "${HOME}/repos/dotfiles/.bash_functions"
|
||||
source "${HOME}/repos/dotfiles/.bash_ps1"
|
||||
source "${homedir_prefix}/repos/dotfiles/.bash_aliases"
|
||||
source "${homedir_prefix}/repos/dotfiles/.bash_functions"
|
||||
source "${homedir_prefix}/repos/dotfiles/.bash_ps1"
|
||||
|
||||
### PATH
|
||||
# add my scripts to PATH
|
||||
PATH=$PATH:"${HOME}/repos/dotfiles/scripts"
|
||||
PATH=$PATH:"${homedir_prefix}/repos/dotfiles/scripts"
|
||||
|
||||
## check interactive shell https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch
|
||||
if [[ $- == *i* ]] ; then
|
||||
|
|
Loading…
Reference in a new issue