diff --git a/internal/exec/shell_utils.go b/internal/exec/shell_utils.go index 9ddb12db7..d7e4e7fcf 100644 --- a/internal/exec/shell_utils.go +++ b/internal/exec/shell_utils.go @@ -154,6 +154,7 @@ func execTerraformShellCommand( componentEnvList = append(componentEnvList, fmt.Sprintf("TF_CLI_ARGS_import=-var-file=%s", varFile)) componentEnvList = append(componentEnvList, fmt.Sprintf("TF_CLI_ARGS_destroy=-var-file=%s", varFile)) componentEnvList = append(componentEnvList, fmt.Sprintf("TF_CLI_ARGS_console=-var-file=%s", varFile)) + componentEnvList = append(componentEnvList, "PS1=atmos>") u.LogDebug(cliConfig, "\nStarting a new interactive shell where you can execute all native Terraform commands (type 'exit' to go back)") u.LogDebug(cliConfig, fmt.Sprintf("Component: %s\n", component)) @@ -187,7 +188,6 @@ func execTerraformShellCommand( } shellCommand = bashPath } - shellCommand = shellCommand + " -l" } u.LogDebug(cliConfig, fmt.Sprintf("Starting process: %s\n", shellCommand))