Skip to content

Commit 16b5baf

Browse files
committed
rename
Former-commit-id: de9c979
1 parent e10801f commit 16b5baf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.bash_profile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
prepend_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"
2626
source_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
}

0 commit comments

Comments
 (0)