Skip to content
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

Cleanly remove shell loggers when study is over #193

Open
BobEvans opened this issue Sep 14, 2023 · 0 comments
Open

Cleanly remove shell loggers when study is over #193

BobEvans opened this issue Sep 14, 2023 · 0 comments
Labels

Comments

@BobEvans
Copy link
Collaborator

BobEvans commented Sep 14, 2023

When a study with shell tracing is stopped, do a clean removal of the functions without requiring users to restart their shells, if possible.

For fish shell, run the fish command:
functions -e taqo_prehook taqo_posthook

For bash and zsh, remove preexec_log_cmd from $preexec_functions and precmd_log_status from $precmd_functions? Or remove those arrays altogether if there are no other functions in them.

@BobEvans BobEvans changed the title Provide shell clean when study is over Cleanly remove shell loggers when study is over Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant