Wyliodrin / WyliodrinSTUDIO

Wyliodrin STUDIO is a Chrome based IDE for software and hardware development in IoT and Embedded Linux
https://studio.wyliodrin.com
Other
91 stars 46 forks source link

Shell has a wrong evironment #54

Closed alexandruradovici closed 7 years ago

alexandruradovici commented 7 years ago

Description

When opening a new shell, the environment is wrong.

HOME is /home/pi instead of /wyliodrin NODE_PATH is not set

Steps to Reproduce

  1. Connect to a board
  2. Open a shell
  3. pwd

Expected behavior: Should print /wyliodrin

Actual behavior: prints /home/pi

serban-razvan commented 7 years ago

Shouldn't be set to /home/pi?

When someone uses a SSH client to connect to the board, the environment will usually be /home/pi

alexandruradovici commented 7 years ago

It should be /wyliodrin, this is in the /etc/wyliodrin/settings_raspberrypi.json file.

I think you can inherit it frim wyliodrin-app-server.

Alexandru

On Feb 15, 2017 22:07, "serban-razvan" notifications@github.com wrote:

Shouldn't be set to /home/pi?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Wyliodrin/WyliodrinSTUDIO/issues/54#issuecomment-280123648, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtOoS_VzCNWNAaBY0n9Mr8jvzQeZAg7ks5rc1sBgaJpZM4MAa1n .