HeyPuter / phoenix

🔥 Puter's pure-javascript shell
https://puter.com/app/terminal
GNU Affero General Public License v3.0
87 stars 15 forks source link

Using `cd` with no arguments gives `TypeError` #49

Open sepsol opened 4 months ago

sepsol commented 4 months ago

When executing just the cd command alone, I expect to be able to go to the $HOME directory of the current user. But instead I get this error:

[bright_shoes_9016@puter.com /bright_shoes_9016]$ cd
cd: TypeError: Cannot read properties of undefined (reading 'startsWith')
AtkinsSJ commented 4 months ago

Fixed by #45.