Closed ariary closed 2 years ago
It's isolated to what user is executing moonwalk so when you run moonwalk
as root it clears the .zsh_history
of the root user, run it without sudo
and the history file of the currently logged in user will be cleared.
I think clearing all the user's history file (if tampered/accessed) might be a good feature? Please let me know what you think and I might add this for the next release!
Thank you! :raised_hands:
Oh ok ! I see
By reflex I launched moonwalk
with sudo privileges by thinking that it will be able to perform more job.
Maybe it could be interesting to be able to detect/precise a specific user to whom the history file will be deleted afterward
Yeah it does perform more with sudo
. I think this is doable, I will implement this in the next release!
Thank you for your interest in the project!
With last version, it seems that my .zsh_history was not clean as expected
Step to reproduce
Then :