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