diff options
Diffstat (limited to 'completions/file-roller')
-rw-r--r-- | completions/file-roller | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/completions/file-roller b/completions/file-roller index c05565d9..3c627585 100644 --- a/completions/file-roller +++ b/completions/file-roller @@ -5,7 +5,7 @@ _file_roller() local cur prev words cword split _init_completion -s || return - local exts='@(7z|ace|alz|ar|arj|[bglx]z|bz2|tb?(z)2|cab|cb[rz]|iso?(9660)|Z|t[abglx]z|cpio|deb|[ejrw]ar|exe|?(g)tar|gem|lh[az]|lzh|?(t)lrz|lzma|lzo|wim|swm|rpm|sit|zip|zoo)' + local exts='@(7z|ace|alz|ar|arj|[bglx]z|bz2|tb?(z)2|cab|cb[rz]|iso?(9660)|Z|t[abglx]z|cpio|deb|rar|?(g)tar|gem|lh[az]|lzh|?(t)lrz|lzma|lzo|wim|swm|rpm|sit|zoo)' case $prev in -'?'|--help|--help-all|--help-gtk|--help-sm-client) @@ -16,6 +16,7 @@ _file_roller() return ;; -a|--add-to) + _filedir_xspec unzip _filedir "$exts" return ;; @@ -34,8 +35,9 @@ _file_roller() return fi + _filedir_xspec unzip _filedir "$exts" } && complete -F _file_roller file-roller -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |