Disable all command and test case

This commit is contained in:
Nils Winkler
2017-05-10 11:12:05 +02:00
parent 098186754c
commit 65c6e6a1a6
2 changed files with 18 additions and 0 deletions

View File

@@ -238,6 +238,9 @@ _disable-thing ()
if [ -e $BASH_IT/$subdirectory/enabled/$plugin ]; then
rm $BASH_IT/$subdirectory/enabled/$(basename $plugin)
fi
if [ -e $BASH_IT/$subdirectory/enabled/*$BASH_IT_LOAD_PRIORITY_SEPARATOR$plugin ]; then
rm $BASH_IT/$subdirectory/enabled/*$BASH_IT_LOAD_PRIORITY_SEPARATOR$(basename $plugin)
fi
done
else
# Use a glob to search for both possible patterns