blob: 14b5dee6d356cbe6be254dffcdd980ddba98955e (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
__lsar()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
opts="--long --verylong --test --password ---encoding --password-encoding \
--print-encoding --indexes --json --json-ascii --no-recursion --help \
--version"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
}
complete -o bashdefault -A file -F __lsar lsar
|