diff options
-rw-r--r-- | bash/bash_profile | 4 | ||||
-rw-r--r-- | bash/bashrc | 2 | ||||
-rw-r--r-- | sh/profile | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bash/bash_profile b/bash/bash_profile index 3d50e437..c119ddba 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -1,10 +1,10 @@ # Source Bourne shell profile if it exists if [[ -r $HOME/.profile ]]; then - source "$HOME/.profile" + source "$HOME"/.profile fi # Source interactive Bash config if it exists if [[ -r $HOME/.bashrc ]]; then - source "$HOME/.bashrc" + source "$HOME"/.bashrc fi diff --git a/bash/bashrc b/bash/bashrc index 9bb6d8b3..33155b82 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -33,7 +33,7 @@ fi # Load any supplementary scripts if [[ -d $HOME/.bashrc.d ]]; then - for file in "$HOME/.bashrc.d"/*; do + for file in "$HOME"/.bashrc.d/*; do source "$file" done fi @@ -8,14 +8,14 @@ PAGER='less' export PAGER # Add ~/.local/bin to PATH if it exists -if [ -d "$HOME/.local/bin" ]; then +if [ -d "$HOME"/.local/bin ]; then PATH="$HOME/.local/bin:$PATH" fi export PATH # Load all supplementary scripts in ~/.profile.d -if [ -d "$HOME/.profile.d" ]; then - for file in "$HOME/.profile.d"/*; do +if [ -d "$HOME"/.profile.d ]; then + for file in "$HOME"/.profile.d/*; do . "$file" done fi |