diff --git a/client/lib/lib.go b/client/lib/lib.go index c90e0ed5..50800c55 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -104,7 +104,7 @@ func BuildTableRow(ctx context.Context, columnNames []string, entry data.History } else { row = append(row, entry.EndTime.Local().Sub(entry.StartTime.Local()).Round(time.Millisecond).String()) } - case "Exit Code", "Exit_Code", "ExitCode", "exitcode": + case "Exit Code", "Exit_Code", "ExitCode", "exitcode", "$?", "EC": row = append(row, fmt.Sprintf("%d", entry.ExitCode)) case "Command", "command": row = append(row, commandRenderer(entry.Command))