File: unp.bash-completion

package info (click to toggle)
unp 2.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 168 kB
  • sloc: perl: 610; makefile: 55; sh: 7
file content (23 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 
# bash completion for unp
#
# This file was autogenerated using unp --format-bc .
#

_unp()
{
    local cur
    COMPREPLY=()
    cur="$(_get_cword)"
    case "$cur" in
        -*)
        COMPREPLY=( $( compgen -W '-u' -- "$cur" ) )
        ;;
        *)
          _filedir 'ace|adf|afio|apfs|apk|ar|arj|bz2|bz3|cab|cbr|cbz|chm|cpio|cramfs|dat|deb|dmg|dms|ear|exe|ext|fat|gpt|gz|hfs|hqx|ihex|iso|jar|lha|lz|lzh|lzma|lzo|lzx|mbox|mbr|msi|nsis|ntfs|pmd|qcow2|rar|rpm|sea|sea.bin|shar|squashfs|tar|tar.bz2|tar.bz3|tar.gz|tar.lzip|tar.lzop|tar.xz|tar.z|tar.zst|tbz2|tbz3|tgz|txz|tzo|tzst|udf|uefi|uu|vdi|vhd|vhdx|vmdk|war|xapk|xar|xpi|xz|z|zip|zoo|zst'
        ;;
    esac
    return 0
} &&
complete -F _unp $filenames unp