about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-12-07 20:41:03 +0000
committerClint Adams <clint@users.sourceforge.net>2005-12-07 20:41:03 +0000
commit6476afa36721b9bd21f86cd112ba60ac8f381d5d (patch)
tree2db76085209086843e2545af137475d23cb6d7ed
parentfa84d603d1ee712b9246242a279ca41bc17f168b (diff)
downloadzsh-6476afa36721b9bd21f86cd112ba60ac8f381d5d.tar.gz
zsh-6476afa36721b9bd21f86cd112ba60ac8f381d5d.tar.xz
zsh-6476afa36721b9bd21f86cd112ba60ac8f381d5d.zip
22055: completion for the FUSE sshfs.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Linux/Command/_sshfs14
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f92dfe45..a80c8dff9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* 22054: Completion/Linux/Command/_fusermount:
 	completion for fusermount.
 
+	* 22055: Completion/Linux/Command/_sshfs: completion for
+	the FUSE sshfs.
+
 2005-12-06  Peter Stephenson  <pws@csr.com>
 
 	* 22053: Etc/FAQ.yo, Functions/Newuser/zsh-newuser-install:
diff --git a/Completion/Linux/Command/_sshfs b/Completion/Linux/Command/_sshfs
new file mode 100644
index 000000000..c6a8e102d
--- /dev/null
+++ b/Completion/Linux/Command/_sshfs
@@ -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 -/'