zsh-workers
 help / color / mirror / code / Atom feed
3467fbd8a74f35b0c8c8788a446742b5451a7fda blob 2745 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
 
#compdef sshfs

local curcontext="$curcontext" state state_descr line
typeset -A opt_args
integer ret=1

# TODO: in the "user@host" argument, the "user@" part should be optional
_arguments -C -S : \
  '(-)'{-h,--help}'[display help information]' \
  '(-)'{-V,--version}'[display version information]' \
  '-p[specify TCP port]:tcp port:_ports' \
  '-C[enable compression]' \
  '-F[specify ssh config file]:file:_files' \
  '*-o[specify mount options]:options:->options' \
  '(-d --debug -f)'{-d,--debug}'[enable debug output]' \
  '-f[foreground]' \
  '-s[disable multithreaded operation]' \
  ':remote directory:_user_at_host -S:' \
  ':mountpoint:_files -/' && ret=0

if [[ $state == options ]]; then
  # TODO complete ssh(1) options
  _values -s , "options to ssh, sshfs, mount, or FUSE" \
    'port:number' \
    'compression: :(yes no)' \
    reconnect delay_connect sshfs_sync no_readahead sync_readdir \
    sshfs_debug \
    'cache: :(yes no)' \
    'cache_timeout:timeout (seconds)' \
    'dir_cache:cache setting:(yes no)' \
    'dcache_max_size:size [10000]' \
    'dcache_timeout:timeout (seconds) [20]' \
    dcache_{stat,dir,link}_timeout:'timeout (seconds)' \
    'dcache_clean_interval:interval [60]' \
    'dcache_min_clean_interval:interval [5]' \
    'workaround:workaround:(none all rename renamexdev delaysrv truncate nobuflimit fstat createmode)' \
    'idmap:user/group mapping:(none user file)' \
    uidfile:file:_files \
    gidfile:file:_files \
    'nomap:type:(ignore error)' \
    'ssh_command:ssh command:_command_names' \
    'ssh_protocol:version:(1 2)' \
    sftp_server:path:_files \
    directport:port:_ports \
    slave disable_hardlink transform_symlinks follow_symlinks no_check_root password_stdin \
    debug \
    allow_other allow_root auto_unmount nonempty default_permissions \
    fsname:filesystem\ name \
    subtype:filesystem\ type \
    large_read \
    max_read:max\ size \
    hard_remove use_ino readdir_ino direct_io kernel_cache auto_cache noauto_cache \
    'umask:permissions' \
    'uid:owner' 'gid:group' \
    'entry_timeout:timeout (seconds) [1]' \
    'negative_timeout:timeout (seconds) [0]' \
    'attr_timeout:timeout (seconds) [1]' \
    'ac_attr_timeout:timeout (seconds) [= attr_timeout]' \
    noforget \
    'remember:time (seconds)' \
    nopath intr \
    'intr_signal:signal [10]' \
    modules:module \
    max_write:size \
    max_readahead:readahead \
    max_background:number \
    congestion_threshold:threshold \
    async_read sync_read atomic_o_trunc big_writes no_remote_lock no_remote_flock \
    no_remote_posix_lock splice_write splice_move splice_read \
    from_code:charset to_code:charset subdir:_directories rellinks norellinks && ret=0
fi

return ret
debug log:

solving 66faf9997 ...
found 66faf9997 in https://inbox.vuxu.org/zsh-workers/20200317140027.361adf36@tarpaulin.shahaf.local2/
found 3363ecdc0 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 3363ecdc01eb89088fa6e4391341129caace8493	Completion/Linux/Command/_sshfs

applying [1/1] https://inbox.vuxu.org/zsh-workers/20200317140027.361adf36@tarpaulin.shahaf.local2/
diff --git a/Completion/Linux/Command/_sshfs b/Completion/Linux/Command/_sshfs
index 3363ecdc0..66faf9997 100644

Checking patch Completion/Linux/Command/_sshfs...
Applied patch Completion/Linux/Command/_sshfs cleanly.

index at:
100644 3467fbd8a74f35b0c8c8788a446742b5451a7fda	Completion/Linux/Command/_sshfs

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).