Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _sshfs



This is the sshfs for FUSE.
The _user_at_host bit should be replaced by remote file completion
similar to what _rsync and _ssh (scp) do.

Index: Completion/Linux/Command/_sshfs
===================================================================
RCS file: Completion/Linux/Command/_sshfs
diff -N Completion/Linux/Command/_sshfs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Linux/Command/_sshfs	7 Dec 2005 20:35:39 -0000
@@ -0,0 +1,14 @@
+#compdef sshfs
+
+_arguments \
+  '-V[version]' \
+  '-p:tcp port:' \
+  '-C[compression]' \
+  '-o:options:_values -s , "sshfs or fuse or mount options" reconnect sshfs_sync no_readahead sshfs_debug cache=:cache\ setting:(yes no) cache_timeout=:seconds: cache_stat_timeout=:seconds: cache_dir_timeout=:seconds: cache_link_timeout=:seconds: ssh_command=:ssh\ command:_command_names directport=:port: SSHOPT=:ssh\ option: default_permissions allow_other allow_root kernel_cache large_read direct_io max_read=:size: hard_remove debug fs_name=:name: use_ino readdir_ino' \
+  '-d[debug]' \
+  '-f[foreground]' \
+  '-s[disable multithreaded operation]' \
+  '-r[mount read-only]' \
+  '-h[help]' \
+  ':remote directory:_user_at_host -S:' \
+  ':mountpoint:_files -/'



Messages sorted by: Reverse Date, Date, Thread, Author