Skip to content

Git clone into a specific directory is not working as expected #84

Closed Answered by samruddhikhandale
kishan02patel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋

Interesting, I tried to create a dev container with the provided dev container config, and I do see plugins installed in /home/node/.oh-my-zsh

However, all these things are being installed at /root/.oh-my-zsh instead of /home/node/.oh-my-zsh

Okay, I do see it added to /root/.oh-my-zsh folder as well, but that's because of https://github.com/devcontainers/features/blob/d53b9d1816bac7a62f9ba5f20723eef428042d1f/src/common-utils/main.sh#L519-L525 where it tries to sync oh-my-zsh configuration of user with root.

As the javascript-image, already installs common-utils Feature with installOhMyZsh:true, @kishan02patel you can avoid the issue with updating your features property to 👇

  "fe…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kishan02patel
Comment options

You must be logged in to vote
1 reply
@samruddhikhandale
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants