今天使用cd 粘贴复制的路径的时候,报了这么一个错.
cd: string not in pwd
eistert@192 Library % cd Application Support
cd: string not in pwd: Application
eistert@192 Library %

让人一脸懵逼.
对比一下,发现中文路径里的空格截断了路径
导致后面的路径就没有办法被包含进去
解决的办法也很简单
加个转义字符 \ 就行了

参考文章
解决cd: string not in pwd的问题