diff --git a/dot-bash_profile b/dot-bash_profile index 55136b9..baaaa32 100644 --- a/dot-bash_profile +++ b/dot-bash_profile @@ -2,7 +2,7 @@ # Get the aliases and functions if [ -f ~/.bashrc ]; then - . ~/.bashrc + . ~/.bashrc fi # User specific environment and startup programs diff --git a/dot-bashrc b/dot-bashrc index ad4581e..1ed1d53 100644 --- a/dot-bashrc +++ b/dot-bashrc @@ -2,12 +2,11 @@ # Source global definitions if [ -f /etc/bashrc ]; then - . /etc/bashrc + . /etc/bashrc fi # User specific environment -if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] -then +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH @@ -17,11 +16,10 @@ export PATH # User specific aliases and functions if [ -d ~/.bashrc.d ]; then - for rc in ~/.bashrc.d/*; do - if [ -f "$rc" ]; then - . "$rc" - fi - done + for rc in ~/.bashrc.d/*; do + if [ -f "$rc" ]; then + . "$rc" + fi + done fi - unset rc