You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
usually one can use the bash history unfortunately not on this VM ππ» /var/scripts/history.sh prevents that ποΈ
Describe the solution you'd like
is there a non obvious reason for truncate -s0 "$HOME/.bash_history" β
Describe alternatives you've considered
can one disable history.sh without breaking the VM β
Additional context
i searched the repo but i am not sure if this ist the first issue/question regarding the missing history π€·π»
I just came across this 'issue' of .bash_history being cleared and was confused why. Some digging led me to the history.sh file and then here. I've created a PR to at least add this comment in the history.sh file see: #2604
Activity
enoch85 commentedon May 1, 2023
Yes, just comment it out in the
.bash_profileThe idea behind it was to remove commands which the clumsy user had been making containing passwords and stuff - see it as a security mesure.
github-tomster commentedon May 1, 2023
@enoch85
thank you for confirming ππ»
maybe a hint/comment like:
could prevent such noise π€·π»
enoch85 commentedon May 1, 2023
Uninitiated user: Didn't even know history was saved per default
Power user: Ask the same question as you, finds the answer and fixes it. ;)
github-tomster commentedon May 1, 2023
@enoch85
was the answer already out there π€
i mean the 'will it break the nextcloudvm environment' question β
pjrobertson commentedon Dec 22, 2023
I just came across this 'issue' of .bash_history being cleared and was confused why. Some digging led me to the
history.shfile and then here. I've created a PR to at least add this comment in the history.sh file see: #2604