In zsh, when I press tab 2 times to enter the "completion menu", select a directory and press enter, it first adds the chosen directory with a trailing slash to the command, but as soon as I press space to add more arguments, it removes it.
i.e. "rsync foo/" gets changed to "rsync foo " after pressing space.
Is there a way to disable this behaviour?
It forces me to always add slashes manually for commands like rsync in particular.