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

Getting precommand and postcommand output. How to disable? #187

Open
bimp opened this issue Mar 6, 2024 · 2 comments
Open

Getting precommand and postcommand output. How to disable? #187

bimp opened this issue Mar 6, 2024 · 2 comments

Comments

@bimp
Copy link

bimp commented Mar 6, 2024

Today I noticed getting the following output on executing any commands:

$ (master) echo "hishtory"
echo "hishtory"
__hishtory_precommand
hishtory
__hishtory_postcommand;
__hishtory_precommand

Not sure what I did. How do I disable this? Couldn't find anything in help or the readme. Thanks.

@bimp
Copy link
Author

bimp commented Mar 6, 2024

FYI:

$ (master) bash --version; hishtory status
bash --version; hishtory status
__hishtory_precommand
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
__hishtory_precommand
hiSHtory: v0.277
Enabled: true
Secret Key: bb94e3c6-fe80-45f7-8b19-bc198fc08f74
Commit Hash: c3f9ba3bab26879d84ce52699d33c19523a9c4d8
__hishtory_postcommand;
__hishtory_precommand

@bimp
Copy link
Author

bimp commented Mar 6, 2024

Update. I was playing around with my bash command and noticed that after executing the command:

$ bash

which I believe sources my ~/.bashrc file, the precommand and postcommand output stopped. What's going on?

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

No branches or pull requests

1 participant