fish-shell/share/completions/unrar.fish
Aaron Gyes 68527ff20c completions: --description -> -d
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00

15 lines
929 B
Fish

# Peek inside of archives and list all files
complete -c unrar -a "(__fish_complete_unrar)"
complete -x -c unrar -n '__fish_use_subcommand' -a e -d "Extract files to current directory"
complete -x -c unrar -n '__fish_use_subcommand' -a l -d "List archive"
complete -x -c unrar -n '__fish_use_subcommand' -a lt -d "List archive (technical)"
complete -x -c unrar -n '__fish_use_subcommand' -a lb -d "List archive (bare)"
complete -x -c unrar -n '__fish_use_subcommand' -a p -d "Print file to stdout"
complete -x -c unrar -n '__fish_use_subcommand' -a t -d "Test archive files"
complete -x -c unrar -n '__fish_use_subcommand' -a v -d "Verbosely list archive"
complete -x -c unrar -n '__fish_use_subcommand' -a vt -d "Verbosely list archive (technical)"
complete -x -c unrar -n '__fish_use_subcommand' -a vb -d "Verbosely list archive (bare)"
complete -x -c unrar -n '__fish_use_subcommand' -a x -d "Extract files with full path"