Skip to content

Conversation

@Hanseter
Copy link

Most of the work to append to the history of bash and zsh was already done. The only thing missing was to make shells interactive (hence the -i argument), in order to have history available and to also activate the history by running set -o history.

Additionally this PR adds the user prompt as a comment after the command to the history. This way it's easier for the user to find the command generated by a prompt later again.

…rder to have a history available the shell needs to be interactive (and history needs to be turned on in the case of bash). Also append the prompt that produced the result to make it easier to find in history search.
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