Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / bash-completion / completions / | server ip : 104.21.89.46 your ip : 172.69.214.235 H O M E |
Filename | /usr/share/bash-completion/completions/file-roller |
Size | 1.03 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:54 |
Last modified | 07-Apr-2014 22:10 |
Last accessed | 05-Jul-2025 20:50 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
# file-roller(1) completion -*- shell-script -*-
_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)'
case $prev in
-'?'|--help|--help-all|--help-gtk|--help-sm-client)
return
;;
--sm-client-state-file)
_filedir
return
;;
-a|--add-to)
_filedir "$exts"
return
;;
-e|--extract-to|--default-dir)
_filedir -d
return
;;
esac
$split && return
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help-all )' \
-- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi
_filedir "$exts"
} &&
complete -F _file_roller file-roller
# ex: ts=4 sw=4 et filetype=sh
_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)'
case $prev in
-'?'|--help|--help-all|--help-gtk|--help-sm-client)
return
;;
--sm-client-state-file)
_filedir
return
;;
-a|--add-to)
_filedir "$exts"
return
;;
-e|--extract-to|--default-dir)
_filedir -d
return
;;
esac
$split && return
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help-all )' \
-- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi
_filedir "$exts"
} &&
complete -F _file_roller file-roller
# ex: ts=4 sw=4 et filetype=sh