Skip to content

Is it possible to write empty history to file ? #339

Answered by akinomyoga
Jai-JAP asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks. I added changes to ble/builtin/history -w in commit c78e5c9. Could you update ble.sh by running ble-update in a ble.sh session and check the behavior?


Edit: It should be noted that the behavior of ble/builtin/history is intentionally changed in the initialization stage of Bash (in .bashrc or .bash_profile) because Bash's default behavior is sometimes inconsistent there. It is generally not recommended to use history builtins inside .bashrc or .bash_profile.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jai-JAP
Comment options

Answer selected by Jai-JAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants