Skip to content

Commit a76b27c

Browse files
authored
Merge pull request #5 from maruf-pfc/dev
fix: git is prompting for credentials
2 parents c6df4d0 + 3ab4bb0 commit a76b27c

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# Bleach (Bash Edition)
22

3-
> **Automated System Cleanup & Maintenance Tool for Linux**
4-
> _Inspired by [ChrisTitusTech/linutil](https://github.com/ChrisTitusTech/linutil)_
5-
63
Bleach is a powerful, interactive terminal utility designed to keep your Linux system clean, fast, and private. Rewritten entirely in **Bash** for maximum portability and control, it uses [gum](https://github.com/charmbracelet/gum) to provide a modern, easy-to-use interface.
74

8-
![Demo](https://charm.sh/m/gum/demo.gif)
9-
*(Example of the Gum interface used in Bleach)*
10-
115
## ✨ Features
126

137
- **Interactive TUI**: Navigate easy menus to select exactly what you want to clean.
@@ -30,7 +24,7 @@ Bleach is a powerful, interactive terminal utility designed to keep your Linux s
3024
This will install Bleach to `/opt/bleach`, create a symlink at `/usr/local/bin/bleach`, and install the `gum` dependency automatically.
3125

3226
```bash
33-
curl -fsSL https://raw.githubusercontent.com/yourusername/bleach/main/install.sh | sudo bash
27+
curl -fsSL https://raw.githubusercontent.com/maruf-pfc/bleach/main/install.sh | sudo bash
3428
```
3529

3630
*(Note: If you are running from a local clone, just run `sudo ./install.sh`)*

install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
set -e
77

8-
REPO_URL="https://github.com/yourusername/bleach.git" # Replace with actual URL logic in real usage, utilizing local path for now if needed or placeholder
8+
REPO_URL="https://github.com/maruf-pfc/bleach.git" # Official Repo
99
INSTALL_DIR="/opt/bleach"
1010
BIN_LINK="/usr/local/bin/bleach"
1111

@@ -43,7 +43,9 @@ if [[ -d "src" && -f "bleach" ]]; then
4343
cp -r ./* "$INSTALL_DIR/"
4444
else
4545
# Fallback to clone
46-
git clone "$REPO_URL" "$INSTALL_DIR"
46+
# GIT_TERMINAL_PROMPT=0 prevents hanging on password prompt if repo is missing/private
47+
# --depth 1 makes it a shallow clone (faster download)
48+
GIT_TERMINAL_PROMPT=0 git clone --depth 1 "$REPO_URL" "$INSTALL_DIR"
4749
fi
4850

4951
# 3. Permissions & Symlink

0 commit comments

Comments
 (0)