Summary: | bash_history flooded by "cd foo/foo" and "clear" commands | ||
---|---|---|---|
Product: | [Applications] kile | Reporter: | Benjamin Hennion <benjamin.hennion> |
Component: | general | Assignee: | Michel Ludwig <michel.ludwig> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | benjamin.hennion, paul.peringuey |
Priority: | NOR | ||
Version: | 2.9.91 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kile/commit/cef2d4888250581420a7909bad5644a9c3c8dedb | Version Fixed In: | |
Sentry Crash Report: |
Description
Benjamin Hennion
2018-03-07 19:54:34 UTC
I'm guessing the problem still comes from the built in konsole as typing history -c in this one prevent the lines to be added to bash_history. I'd suggested to replace "clear" by "clear && history -d -1 && history -d -1". Git commit cef2d4888250581420a7909bad5644a9c3c8dedb by Nicolas Fella, on behalf of Alessio Bonfiglio. Committed on 27/06/2022 at 23:36. Pushed by nicolasfella into branch 'master'. Add white space before console commands in order to avoid save them into bash history This avoids saving the `cd` and `clear` commands into the bash history if `ignorespace` is set in bashrc Dolphin and Kate do the same in their Konsole integrations Related: bug 453935 M +2 -2 src/widgets/konsolewidget.cpp https://invent.kde.org/office/kile/commit/cef2d4888250581420a7909bad5644a9c3c8dedb |