Skip to content

feat: disable bash session history #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: oleg/lock-executables
Choose a base branch
from

Conversation

olebedev
Copy link
Owner

@olebedev olebedev commented Jan 5, 2024

Motivation

By default on Apple device in the Apple Terminal the bash process will print things like:

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

This PR disables that behavior via setting SHELL_SESSION_DID_INIT=1 env var that is being looked up in the /etc/bashrc_Apple_Terminal script that is sourced in /ect/bashrc by default for that terminal application.

TODO

Change the merge base once the second PR from the oleg/lock-executables branch is merged.

cc @fwouts

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