diff --git a/.bash_extra b/.bash_extra index 744fa77..02ffa93 100644 --- a/.bash_extra +++ b/.bash_extra @@ -1,9 +1,10 @@ #!/bin/bash # source extra files -source ./.bash_aliases -source ./.bash_functions -source ./.bash_ps1 +# https://stackoverflow.com/questions/6659689/referring-to-a-file-relative-to-executing-script +source "${BASH_SOURCE%/*}/.bash_aliases" +source "${BASH_SOURCE%/*}/.bash_functions" +source "${BASH_SOURCE%/*}/.bash_ps1" ### PATH # add my scripts to PATH @@ -51,3 +52,6 @@ export LESS='--mouse --wheel-lines=3 eFRX' # deaktiviere alias von ll, wird von mir explizit gesetzt unalias ll 2>/dev/null + + +~