lbzip2: Add -n argument completion.

This commit is contained in:
Ville Skyttä 2012-06-14 21:31:30 +03:00
parent f8ac6a5aeb
commit d141f9c6eb

View File

@ -9,6 +9,10 @@ _bzip2()
-b|-h|--help|-p)
return 0
;;
-n)
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
return 0
;;
esac
if [[ "$cur" == -* ]]; then