Ticket #1240: django_bash_completion.diff
File django_bash_completion.diff, 657 bytes (added by , 16 years ago) |
---|
-
extras/django_bash_completion
111 111 else 112 112 apps=`sed -n "/INSTALLED_APPS = (/,/)/p" $settings | \ 113 113 grep -v "django.contrib" | 114 sed -n "s/^[ ]*'\(.*\.\)*\(.*\)'.*$/\2 /pg" | \114 sed -n "s/^[ \t]*'\(.*\.\)*\(.*\)'.*$/\2 /pg" | \ 115 115 tr -d "\n"` 116 116 COMPREPLY=( $(compgen -W "${apps}" -- ${cur}) ) 117 117 fi