diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 23:54:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 23:54:25 +1300 |
commit | 79309afa6f6d8b4f3a607694608b499db6b992fa (patch) | |
tree | 627a59b4d7182ccca6d7bfb613895e876bfd25ed /sh/profile | |
parent | Add comment (diff) | |
download | dotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.tar.gz dotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.zip |
Use space before semicolon as command separator
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ # 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 config in "$HOME"/.profile.d/*.sh; do - if [ -r "$config" ]; then +if [ -d "$HOME"/.profile.d ] ; then + for config in "$HOME"/.profile.d/*.sh ; do + if [ -r "$config" ] ; then . "$config" fi done |