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

Add zsh, fish & python cleaners. #1229

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

balac-ode
Copy link

Add cleanders:
zsh history
fish history
python3 history

<option id="history">
<label>History</label>
<description>Delete the command history</description>
<action command="delete" search="file" path="~/.pythonhist"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which system are you testing on? On Ubuntu 22.04, I have ~/.python_history. Please add this one.

-->
<cleaner id="python" os="unix">
<label>Python</label>
<description>Programing language</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<description>Programing language</description>
<description>Programming language</description>

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

99+% of Linux users do not use zsh or fish, so please submit those to https://github.com/bleachbit/cleanerml/ . Otherwise, I can accept it here and move them afterwards.

Bash is preinstalled on a typical Linux system, and here is a reference point
https://trends.google.com/trends/explore?geo=US&q=zsh,bash

<option id="history">
<label>History</label>
<description>Delete the command history</description>
<action command="delete" search="file" path="~/.zsh_history"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same location on Ubuntu 22.04

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From https://www.redhat.com/sysadmin/favorite-shell Bash takes 779/1441=54% and Zsh 377/1441=26%

These are users who would go through the process of installing BleachBit.

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

Successfully merging this pull request may close these issues.

None yet

4 participants