Add completion for ark (#9362)

Closes #9362
This commit is contained in:
Emily Grace Seville 2022-11-22 19:12:20 +10:00 committed by Johannes Altmanninger
parent a065dd7764
commit b6b4c6806f
2 changed files with 14 additions and 0 deletions

View file

@ -120,6 +120,7 @@ Completions
- ``kb``
- ``okular``
- ``dolphin``
- ``ark``
- Improvements to some completions.

View file

@ -0,0 +1,13 @@
complete -c ark -s d -l dialog -d 'Show a dialog with options'
complete -c ark -s m -l mimetypes -d 'List all supported MIME types'
complete -c ark -s o -l destination -d 'Specify an extraction directory'
complete -c ark -s c -l add -d 'Add files and directories to an archive interactively'
complete -c ark -s t -l add-to -d 'Add files and directories to an archive'
complete -c ark -s p -l changetofirstpath -d 'Use a first argument as input path'
complete -c ark -s f -l autofilename -d 'Specify suffix for automatically choosen filename'
complete -c ark -s b -l batch -d 'Use a batch interface'
complete -c ark -s e -l autodestination -d 'Use a first argument as output path'
complete -c ark -s a -l autosubfolder -d 'Create subfolder automatically for multiple archives'
complete -c ark -s O -l opendestination -d 'Open upon extraction completion'