-
-
Notifications
You must be signed in to change notification settings - Fork 98
Cloud9: Added dedicated workspace and use symlink to homeassistant config. #178
Conversation
mkdir /home/homeassistant/c9workspace | ||
ln -s /home/homeassistant/.homeassistant/ /home/homeassistant/c9workspace | ||
ln -s /home/homeassistant/.c9 /home/homeassistant/c9workspace | ||
mv /home/homeassistant/.homeassistant /home/homeassistant/homeassistant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a terrible idea. Create a symlink instead and both the default and the change will function.
We should always avoid changing defaults since other projects can assume that they are correct.
@Landrash Agreed! That would have been bad! |
mkdir /home/homeassistant/c9workspace | ||
ln -s /home/homeassistant/.homeassistant/ /home/homeassistant/c9workspace | ||
ln -s /home/homeassistant/.c9 /home/homeassistant/c9workspace | ||
mv /home/homeassistant/c9workspace/.homeassistant /home/homeassistant/c9workspace/homeassistant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line makes no sense to me?
The symlink created should be c9workspace and shouldn't contain this directory?
I will find another way for this |
@Landrash does it look better now? |
Looks good and can be merged after WIP tag is removed. |
Description:
Uses /home/homeassistant/c9workspace as the workspace.
.homeassistant are symlinked to that workspace as
homeassistant
ctrl+e works for searching.
Related issue (if applicable): Fixes #177
Checklist (Required):
If pertinent:
/docs