Compare commits
2 commits
41772cbe43
...
3c8f4ef49a
Author | SHA1 | Date | |
---|---|---|---|
3c8f4ef49a | |||
db51bd4990 |
1 changed files with 4 additions and 11 deletions
15
.bash_extra
15
.bash_extra
|
@ -3,21 +3,14 @@
|
||||||
# deaktiviere alias von ll, wird von mir explizit gesetzt
|
# deaktiviere alias von ll, wird von mir explizit gesetzt
|
||||||
unalias ll 2>/dev/null
|
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 extra files
|
||||||
source "${homedir_prefix}/repos/dotfiles/.bash_aliases"
|
source "${HOME}/repos/dotfiles/.bash_aliases"
|
||||||
source "${homedir_prefix}/repos/dotfiles/.bash_functions"
|
source "${HOME}/repos/dotfiles/.bash_functions"
|
||||||
source "${homedir_prefix}/repos/dotfiles/.bash_ps1"
|
source "${HOME}/repos/dotfiles/.bash_ps1"
|
||||||
|
|
||||||
### PATH
|
### PATH
|
||||||
# add my scripts to PATH
|
# add my scripts to PATH
|
||||||
PATH=$PATH:"${homedir_prefix}/repos/dotfiles/scripts"
|
PATH=$PATH:"${HOME}/repos/dotfiles/scripts"
|
||||||
|
|
||||||
## check interactive shell https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch
|
## check interactive shell https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch
|
||||||
if [[ $- == *i* ]] ; then
|
if [[ $- == *i* ]] ; then
|
||||||
|
|
Loading…
Reference in a new issue