Hi, There's a problem with the current _django completion function under Mac OS X: a call to "awk -vdrop=1" at line 59 results in the "awk: invalid -v option" error. Adding a space after "-v" fixes the problem and seems to work both in mawk in Ubuntu and awk in OS X (awk version 20070501). --- i/Completion/Unix/Command/_django +++ w/Completion/Unix/Command/_django @@ -59,7 +59,7 @@ case $state in ) for cmd in $(./manage.py --help 2>&1 >/dev/null | \ - awk -vdrop=1 '{ if (!drop) print substr($0, 3) } /^Available subcommands/ { drop=0 }') + awk -v drop=1 '{ if (!drop) print substr($0, 3) } /^Available subcommands/ { drop=0 }') do if ! echo $subcommands | grep -qs "${cmd}:" then -- Alexey Bezhan