Skip to content

Commit 90fcb4d

Browse files
committed
uninstall: check for backup files, not config files
1 parent eb14b34 commit 90fcb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uninstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
: "${BASH_IT:=${HOME?}/.bash_it}"
77

88
CONFIG_FILE=".bashrc"
9-
if [[ ! -e ~/.bashrc && -e ~/.bash_profile ]]; then
9+
if [[ ! -e ~/.bashrc.bak && -e ~/.bash_profile.bak ]]; then
1010
# legacy Mac or WSL or just no backup file
1111
CONFIG_FILE=".bash_profile"
1212
fi

0 commit comments

Comments
 (0)