remove dir command

This commit is contained in:
Jose Garcia 2021-09-01 14:38:37 -04:00
parent c0fbb7e9fb
commit bfeb4e77c9

View file

@ -158,7 +158,7 @@ func getContainerID(ctx context.Context, logger *output.Logger, terminal *livesh
}
func setupEnv(ctx context.Context, logger *output.Logger, terminal *liveshare.Terminal, containerID, repositoryName, containerUser string) error {
setupBashProfileCmd := fmt.Sprintf(`echo "cd /workspaces/%v; export $(cat /workspaces/.codespaces/shared/.env | xargs); exec /bin/zsh;" > /home/%v/.bash_profile`, repositoryName, containerUser)
setupBashProfileCmd := fmt.Sprintf(`echo "export $(cat /workspaces/.codespaces/shared/.env | xargs); exec /bin/zsh;" > /home/%v/.bash_profile`, repositoryName, containerUser)
logger.Print(".")
compositeCommand := []string{setupBashProfileCmd}