diff --git a/.bash_extra b/.bash_extra index 7e43fb3..d7d1d3d 100644 --- a/.bash_extra +++ b/.bash_extra @@ -1,14 +1,13 @@ #!/bin/bash # source extra files -# 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" +source "/home/mg/dotfiles/.bash_aliases" +source "/home/mg/dotfiles/.bash_functions" +source "/home/mg/dotfiles/.bash_ps1" ### PATH # add my scripts to PATH -PATH=$PATH:"${BASH_SOURCE%/*}/scripts" +PATH=$PATH:"/home/mg/dotfiles/scripts" ### tmux auto attach # Check if the user ID is not 0 (root)