small pixel drawing of a pufferfish zoa

*
Jes Olson j3s@c3f.net
Tue, 27 Sep 2022 23:28:00 -0500
commit

bb6c88d40d1a39a5800fe003598f897109186964

parent

bac40616ec0bc7b038b761d7c13a7d6e06838662

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M shell/shell.goshell/shell.go

@@ -84,7 +84,7 @@ utils.BluePrintln("-> " + scriptPath)

lastScriptPath = scriptPath } - fmt.Printf("$ %s\n", cmdName) + fmt.Printf("$ %s\n", fullCmd) // todo: better colorz idk utils.BluePrintln("$ " + cmdName) err = r.Run(ctx, stmt) if err != nil {

@@ -117,8 +117,6 @@

func commandName(statement *syntax.Stmt) string { b := new(bytes.Buffer) syntax.NewPrinter().Print(b, statement) - command := b.String() - command = strings.Trim(command, "\n ") return b.String() }