File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/supervisor/pkg/supervisor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ func configureSSHDefaultDir(cfg *Config) {
219
219
log .Error ("cannot configure ssh default dir with empty repo root" )
220
220
return
221
221
}
222
- file , err := os .OpenFile ("/home/gitpod/.bashrc " , os .O_WRONLY | os .O_APPEND | os .O_CREATE , 0o644 )
222
+ file , err := os .OpenFile ("/home/gitpod/.bash_profile " , os .O_WRONLY | os .O_APPEND | os .O_CREATE , 0o644 )
223
223
if err != nil {
224
- log .WithError (err ).Error ("cannot write .bashrc " )
224
+ log .WithError (err ).Error ("cannot write .bash_profile " )
225
225
}
226
226
defer file .Close ()
227
227
if _ , err := file .WriteString (fmt .Sprintf ("\n if [[ -n $SSH_CONNECTION ]]; then cd \" %s\" ; fi\n " , cfg .RepoRoot )); err != nil {
228
- log .WithError (err ).Error ("write .bashrc failed" )
228
+ log .WithError (err ).Error ("write .bash_profile failed" )
229
229
}
230
230
}
231
231
You can’t perform that action at this time.
0 commit comments