bash: use $HOME
All checks were successful
ci/woodpecker/push/lint Pipeline was successful

This commit is contained in:
Michael Grote 2024-05-28 20:16:14 +02:00
parent aa3addbc1b
commit db51bd4990

View file

@ -4,13 +4,13 @@
unalias ll 2>/dev/null
# source extra files
source "/home/mg/dotfiles/.bash_aliases"
source "/home/mg/dotfiles/.bash_functions"
source "/home/mg/dotfiles/.bash_ps1"
source "${HOME}/dotfiles/.bash_aliases"
source "${HOME}/dotfiles/.bash_functions"
source "${HOME}/dotfiles/.bash_ps1"
### PATH
# add my scripts to PATH
PATH=$PATH:"/home/mg/dotfiles/scripts"
PATH=$PATH:"${HOME}/dotfiles/scripts"
### tmux auto attach
# Check if the user ID is not 0 (root)