From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15754 invoked from network); 7 Dec 2005 20:39:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Dec 2005 20:39:30 -0000 Received: (qmail 34582 invoked from network); 7 Dec 2005 20:39:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Dec 2005 20:39:23 -0000 Received: (qmail 19457 invoked by alias); 7 Dec 2005 20:39:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22055 Received: (qmail 19446 invoked from network); 7 Dec 2005 20:39:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Dec 2005 20:39:19 -0000 Received: (qmail 34234 invoked from network); 7 Dec 2005 20:39:18 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 7 Dec 2005 20:39:18 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 8F71270046; Wed, 7 Dec 2005 15:39:16 -0500 (EST) Date: Wed, 7 Dec 2005 15:39:16 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _sshfs Message-ID: <20051207203916.GA28443@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 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 -/'