Polish docs and repo hygiene

This commit is contained in:
2026-01-25 00:14:21 +00:00
parent 2443820037
commit 4a7cdcc11f
6 changed files with 167 additions and 25 deletions

35
UNINSTALL.md Normal file
View File

@@ -0,0 +1,35 @@
# Uninstall
## Linux / WSL (global)
Remove installed files:
```bash
sudo rm -f /etc/profile.d/ps1.sh /etc/profile.d/banner.sh
sudo rm -f /etc/ps1-season /etc/ps1-style /etc/ps1-punchline
```
Remove the managed block from `/etc/bash.bashrc`:
```bash
sudo sed -i '/# >>> dotfiles (managed) >>>/,/# <<< dotfiles (managed) <<</d' /etc/bash.bashrc
```
Open a new shell to confirm the prompt is gone.
## macOS (per-user)
Remove installed files:
```bash
rm -f ~/.config/ps1/ps1.sh ~/.config/ps1/season ~/.config/ps1/style
```
Remove the managed block from your shell configs:
```bash
sed -i '' '/# >>> user ps1 (managed) >>>/,/# <<< user ps1 (managed) <<</d' ~/.bashrc
sed -i '' '/# >>> user ps1 (managed) >>>/,/# <<< user ps1 (managed) <<</d' ~/.bash_profile
```
Open a new shell or run `source ~/.bashrc`.