File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# on macos, iterm and tmux will source this for every new window or pane.
22# screen will *not* source this on new screen creation (ctrl+a,c)
33
4- BASH_REPORT_MISSING_SOURCES =true
4+ BASH_REPORT_MISSING =true
55
66prepend_new_path_if_exists () {
77 if [ -d " $1 " ]; then
@@ -10,7 +10,7 @@ prepend_new_path_if_exists() {
1010 # don't take precedence in tmux or screen-like environments.
1111 local CLEAN_PATH=$( echo " ${PATH} :" | sed -e " s|$1 :||" -e ' s|:$||' )
1212 export PATH=" $1 :$CLEAN_PATH "
13- elif $BASH_REPORT_MISSING_SOURCES ; then
13+ elif $BASH_REPORT_MISSING ; then
1414 echo " $1 not added to PATH"
1515 fi
1616}
@@ -26,7 +26,7 @@ prepend_new_path_if_exists "$HOME/.asdf/shims"
2626source_if_exists () {
2727 if [[ -s " $1 " ]]; then
2828 source " $1 "
29- elif $BASH_REPORT_MISSING_SOURCES ; then
29+ elif $BASH_REPORT_MISSING ; then
3030 echo " $1 not sourced"
3131 fi
3232}
You can’t perform that action at this time.
0 commit comments