summaryrefslogtreecommitdiff
path: root/completions/rsync
diff options
context:
space:
mode:
Diffstat (limited to 'completions/rsync')
-rw-r--r--completions/rsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/rsync b/completions/rsync
index e8b75b1a..e3f0f10e 100644
--- a/completions/rsync
+++ b/completions/rsync
@@ -74,7 +74,7 @@ _rsync()
break
fi
done
- [ "$shell" = ssh ] && _xfunc ssh _scp_remote_files
+ [[ $shell == ssh ]] && _xfunc ssh _scp_remote_files
;;
*)
_known_hosts_real -c -a "$cur"