clzip, pdlzip, plzip: New lzip alias completions.
This commit is contained in:
parent
a624cc2c30
commit
fc107b4bdc
3
completions/.gitignore
vendored
3
completions/.gitignore
vendored
@ -18,6 +18,7 @@ ci
|
||||
ciptool
|
||||
civclient
|
||||
civserver
|
||||
clzip
|
||||
co
|
||||
compare
|
||||
compgen
|
||||
@ -92,6 +93,7 @@ muttng
|
||||
ncal
|
||||
pbzip2
|
||||
pccardctl
|
||||
pdlzip
|
||||
perldoc
|
||||
phing
|
||||
pigz
|
||||
@ -100,6 +102,7 @@ ping6
|
||||
pkg_deinstall
|
||||
pkg_info
|
||||
pkill
|
||||
plzip
|
||||
pm-suspend
|
||||
pm-suspend-hybrid
|
||||
pmake
|
||||
|
@ -376,6 +376,7 @@ CLEANFILES = \
|
||||
ciptool \
|
||||
civclient \
|
||||
civserver \
|
||||
clzip \
|
||||
co \
|
||||
compare \
|
||||
compgen \
|
||||
@ -450,6 +451,7 @@ CLEANFILES = \
|
||||
ncal \
|
||||
pbzip2 \
|
||||
pccardctl \
|
||||
pdlzip \
|
||||
perldoc \
|
||||
phing \
|
||||
pigz \
|
||||
@ -458,6 +460,7 @@ CLEANFILES = \
|
||||
pkg_deinstall \
|
||||
pkg_info \
|
||||
pkill \
|
||||
plzip \
|
||||
pm-suspend \
|
||||
pm-suspend-hybrid \
|
||||
pmake \
|
||||
@ -676,6 +679,10 @@ symlinks: $(targetdir)
|
||||
rm -f $(targetdir)/$$file && \
|
||||
$(LN_S) lvm $(targetdir)/$$file ; \
|
||||
done
|
||||
for file in clzip pdlzip plzip ; do \
|
||||
rm -f $(targetdir)/$$file && \
|
||||
$(LN_S) lzip $(targetdir)/$$file ; \
|
||||
done
|
||||
for file in gmake gnumake pmake ; do \
|
||||
rm -f $(targetdir)/$$file && \
|
||||
$(LN_S) make $(targetdir)/$$file ; \
|
||||
|
@ -9,12 +9,16 @@ _lzip()
|
||||
|
||||
case $prev in
|
||||
-h|--help|-V|--version|-b|--member-size|-m|--match-length|\
|
||||
-s|--dictionary-size|-S|--volume-size)
|
||||
-s|--dictionary-size|-S|--volume-size|-B|--data-size)
|
||||
return
|
||||
;;
|
||||
-d|--decompress)
|
||||
decompress=true
|
||||
;;
|
||||
-n|--threads)
|
||||
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
-o|--output)
|
||||
_filedir
|
||||
return
|
||||
@ -39,6 +43,6 @@ _lzip()
|
||||
COMPREPLY=( $( compgen -f -X "*.lz" -- "$cur" ) \
|
||||
$( compgen -d -- "$cur" ) )
|
||||
} &&
|
||||
complete -F _lzip lzip
|
||||
complete -F _lzip clzip lzip pdlzip plzip
|
||||
|
||||
# ex: ts=4 sw=4 et filetype=sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user