Cannot cd to Local Sites

Using ZSH on OSX 10.15.6

/Users/XXXXX % cd Local Sites
cd: string not in pwd: Local
/Users/XXXXX % which local
local: shell reserved word

“Local Sites” doesn’t seem like the best default dir for this app?

Not sure the best way forward… either always escape Local Sites or reset the default dir to something like: Sites. Hmm

You need to use something like cd Local\ Sites.

This escapes the space. I agree it’s not the best naming. I usually change my default folder to ~/Local_Sites

1 Like

Right, thanks for the reply @ afragen

cd "Local Sites" …also works.

But like you said, likely best to rename the folder name. I went with Sites like macos has used in the past.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.