make -j: Complete up to number of CPUs * 2.

This commit is contained in:
Ville Skyttä 2011-11-11 21:01:06 +02:00
parent 6f58a69991
commit c73cf422bd

View File

@ -25,7 +25,7 @@ _make()
return 0
;;
--jobs|-j)
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
COMPREPLY=( $( compgen -W "{1..$(( $(_ncpus)*2 ))}" -- "$cur" ) )
return 0
;;
esac