mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -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) {
|
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 {
|
if e.Config.ShellIntegration {
|
||||||
exitCode, _ := e.Env.StatusCodes()
|
exitCode, _ := e.Env.StatusCodes()
|
||||||
e.write(terminal.CommandFinished(exitCode, e.Env.Flags().NoExitCode))
|
e.write(terminal.CommandFinished(exitCode, e.Env.Flags().NoExitCode))
|
||||||
|
|
Loading…
Reference in a new issue