Closed iaroslavnikitin closed 10 months ago
I'm not a maintainer, but this is definitely intended. You can try out what happens if you don't add the backslash and run the cd
command.
@Saecki, i do not add the backslash, it's added automatically by autosuggestion / autocompletion to every single folder that has more than 1 word in a title and a space between those words:
Yes, but the \
is necessary for your shell to understand that the two words are in fact one directory. If you would run cd untitled folder
instead of cd untitled\ folder
, you would get the following error:
❯ cd untitled folder
cd: string not in pwd: untitled
ah, got it, thank you, sorry for my noob's request here, closing the ticket then
Describe the bug
Escaping symbol added after every word to a Folder name, e.g. when typing a command
cd untitled folder
it suggests and writes –cd untitled\ folder
To Reproduce
Steps to reproduce the behavior: installed simply zsh-autosuggestions and zsh-syntax-highlighting, started to use it and the issue appears right away
Expected behavior
when typing a command
cd untitled folder
it suggests and displayscd untitled folder
Screenshots
Desktop