You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set the containerUser and remoteUser to vscode the zsh-plugin stops working. The default shell is set to zsh and oh-my-zsh and the .zshrc seem to be set up correctly, however, with the wrong user rights (root, see output). A re-owning at the end of the install script should solve the matter.
For the sake of completeness I create the vscode user like so (extract from Dockerfile):
Also the location of the home dir is derived in a fragile manner in the install script (/home/$USERNAME) consider reading its location from the users $HOME.
Feature id and version
ghcr.io/devcontainers-contrib/features/zsh-plugins:0.0.4
Devcontainer base Image
python:3.10
What happened?
If I set the
containerUser
andremoteUser
tovscode
the zsh-plugin stops working. The default shell is set to zsh and oh-my-zsh and the .zshrc seem to be set up correctly, however, with the wrong user rights (root
, see output). A re-owning at the end of the install script should solve the matter.For the sake of completeness I create the
vscode
user like so (extract fromDockerfile
):Also the location of the home dir is derived in a fragile manner in the install script (
/home/$USERNAME
) consider reading its location from the users$HOME
.Relevant log output
EDIT: Adjusted command used to create
vscode
user.The text was updated successfully, but these errors were encountered: