From 769c6cbc28eb32bcc2b8eb0bd49a30f015d4ae6b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 15 Aug 2015 04:30:17 +0000 Subject: unposted: _sshfs: Fix completion of options with values The "=" to the left of the ":" was interpreted as a literal part of the option name, resulting in double equal signs. --- Completion/Linux/Command/_sshfs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Completion/Linux') diff --git a/Completion/Linux/Command/_sshfs b/Completion/Linux/Command/_sshfs index e6d137017..534e806e3 100644 --- a/Completion/Linux/Command/_sshfs +++ b/Completion/Linux/Command/_sshfs @@ -21,18 +21,18 @@ _arguments -C \ if [[ $state == options ]]; then _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:' \ + '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: \ + max_read:size: \ hard_remove debug \ - fs_name=:name: \ + fs_name:name: \ use_ino readdir_ino && ret=0 fi -- cgit 1.4.1