diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-11 21:01:06 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-11 21:01:06 +0200 |
commit | c73cf422bd709c3c5ae90b2d8237758a681f1d00 (patch) | |
tree | 1f4c95843503c5014d8a17806b48a37dc8a70762 | |
parent | 6f58a699918b7bb22c6355223d7456076b53dc46 (diff) | |
download | bash-completion-c73cf422bd709c3c5ae90b2d8237758a681f1d00.tar.gz |
make -j: Complete up to number of CPUs * 2.
-rw-r--r-- | completions/make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/make b/completions/make index 32fad165..399c4b00 100644 --- a/completions/make +++ b/completions/make @@ -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 |