diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-08-15 04:30:17 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-08-17 21:55:24 +0000 |
commit | 769c6cbc28eb32bcc2b8eb0bd49a30f015d4ae6b (patch) | |
tree | 7b7420c2a1322401e5b16e3ed15f9d3d0b3bdaa0 /Completion/Linux | |
parent | ad98fab65d1307e788432ddd5c5d05aef5070267 (diff) | |
download | zsh-769c6cbc28eb32bcc2b8eb0bd49a30f015d4ae6b.tar.gz zsh-769c6cbc28eb32bcc2b8eb0bd49a30f015d4ae6b.tar.xz zsh-769c6cbc28eb32bcc2b8eb0bd49a30f015d4ae6b.zip |
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.
Diffstat (limited to 'Completion/Linux')
-rw-r--r-- | Completion/Linux/Command/_sshfs | 20 |
1 files changed, 10 insertions, 10 deletions
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 |