mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-04 17:11:30 +01:00
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.
This commit is contained in:
parent
ad98fab65d
commit
769c6cbc28
2 changed files with 13 additions and 10 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2015-08-17 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted: Completion/Linux/Command/_sshfs: _sshfs: Fix
|
||||
completion of options with values
|
||||
|
||||
* 36158: Completion/Linux/Command/_sshfs: _sshfs: Fix completion
|
||||
of and after -o
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue