Make manage compatable with autocomplete

This commit is contained in:
Jake Howard 2017-04-19 09:31:51 +01:00
parent ce68f5870c
commit 70b849a523

View file

@ -9,7 +9,7 @@ ctp() {
ctpr runtests ${@:2}
elif [[ $1 == "run" ]]; then
ctpr ${@:2}
elif [[ $1 == "manage" ]]; then
elif [ $1 == "manage" ] || [ $1 == "manage.py" ]; then
ctpr manage.py ${@:2}
elif [[ $1 == "migrate" ]]; then
ctpr manage.py migrate ${@:2}