1 |
# bash completion for gvfs |
2 |
|
3 |
__gvfs_multiple_uris() { |
4 |
local IFS=$'\n' |
5 |
local cur="${COMP_WORDS[COMP_CWORD]}" |
6 |
|
7 |
COMPREPLY=($(compgen -W '$(gvfs-ls --show-completions "$cur")' -- "")) |
8 |
} |
9 |
|
10 |
complete -o nospace -F __gvfs_multiple_uris gvfs-ls |
11 |
complete -o nospace -F __gvfs_multiple_uris gvfs-info |
12 |
complete -o nospace -F __gvfs_multiple_uris gvfs-cat |
13 |
complete -o nospace -F __gvfs_multiple_uris gvfs-less |
14 |
complete -o nospace -F __gvfs_multiple_uris gvfs-copy |
15 |
complete -o nospace -F __gvfs_multiple_uris gvfs-mkdir |
16 |
complete -o nospace -F __gvfs_multiple_uris gvfs-monitor-dir |
17 |
complete -o nospace -F __gvfs_multiple_uris gvfs-monitor-file |
18 |
complete -o nospace -F __gvfs_multiple_uris gvfs-move |
19 |
complete -o nospace -F __gvfs_multiple_uris gvfs-open |
20 |
complete -o nospace -F __gvfs_multiple_uris gvfs-rm |
21 |
complete -o nospace -F __gvfs_multiple_uris gvfs-save |
22 |
complete -o nospace -F __gvfs_multiple_uris gvfs-trash |
23 |
complete -o nospace -F __gvfs_multiple_uris gvfs-tree |