Bug Summary
Sometimes the randomly generated site ID starts with a dash, like -QS0WNALf
. That breaks a normal cd -QS0WNALf
command.
Steps to reproduce
- Create and environment with where the ID starts with a
-
, like-QS0WNALf
- cd “~/Library/ApplicationSupport/Local/run/-QS0WNALf”. You’ll get an error:
bash: cd: -Q: invalid option
cd: usage: cd [-L|-P] [dir]
- Alternate versions of the command will work, like
cd ./-QS0WNALf
orcd -- -QS0WNALf
Environment Info
- OS X 15.2
- Local Version 9.2.2+6771