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.
unsetopt AUTO_REMOVE_SLASH
.~/conf/config<ENTER>
, theni3s<TAB><ENTER>
. It acted like it was about to cd toi3status/
, then removed the slash and ran i3status instead!