diff options
Diffstat (limited to 'system/unar/Extra/lsar.bash_completion')
-rw-r--r-- | system/unar/Extra/lsar.bash_completion | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/system/unar/Extra/lsar.bash_completion b/system/unar/Extra/lsar.bash_completion new file mode 100644 index 0000000000..14b5dee6d3 --- /dev/null +++ b/system/unar/Extra/lsar.bash_completion @@ -0,0 +1,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 + |