diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 13:54:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 13:54:57 +1200 |
commit | 866ef5c3794764b089efdcfae1a753e294978663 (patch) | |
tree | b0a2dba4364b0f31fda5ddb8a94ca5feaaded8f1 /sh/profile | |
parent | Turn off control character echo with stty (diff) | |
download | dotfiles-866ef5c3794764b089efdcfae1a753e294978663.tar.gz dotfiles-866ef5c3794764b089efdcfae1a753e294978663.zip |
More conservative expansion for dotfile paths
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |