Skip to content

history: record exit status and show via "history -s"#124

Open
peripherium wants to merge 1 commit into
tcsh-org:masterfrom
peripherium:feature/history-exit-status
Open

history: record exit status and show via "history -s"#124
peripherium wants to merge 1 commit into
tcsh-org:masterfrom
peripherium:feature/history-exit-status

Conversation

@peripherium
Copy link
Copy Markdown

@peripherium peripherium commented May 5, 2026

This records $status in history entries and adds optional display via history -s. The status is stored after the timestamp, separated by a space. The history format remains backward compatible; older entries are handled gracefully. With -s, the exit status of each history entry is printed as an additional column. Default behavior is unchanged; the status is only shown when explicitly requested via history -s.

This feature was requested in #38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant