mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-14 15:04:03 -08:00
chore: remove commented out code
This commit is contained in:
parent
4ebbdd3c18
commit
440be08a42
|
@ -43,20 +43,6 @@ func (e *Engine) Primary() string {
|
|||
}
|
||||
|
||||
func (e *Engine) writePrimaryPrompt(needsPrimaryRPrompt bool) {
|
||||
// file, err := os.Create("trace.out")
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
|
||||
// defer file.Close()
|
||||
|
||||
// err = trace.Start(file)
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
|
||||
// defer trace.Stop()
|
||||
|
||||
if e.Config.ShellIntegration {
|
||||
exitCode, _ := e.Env.StatusCodes()
|
||||
e.write(terminal.CommandFinished(exitCode, e.Env.Flags().NoExitCode))
|
||||
|
|
Loading…
Reference in a new issue