bug-fork

fork/re-write of bug cli todo manager
git clone https://git.regexghost.com/bug-fork.git
Log | Files | Refs | README | LICENSE

commit 9fae66ba9066b903be97879cc6546e6accad3e30
parent 8c00cfd7572674c3626ab098d75b4e045dc545d8
Author: regexghost <dev@regexghost.com>
Date:   Fri, 29 May 2026 21:03:16 +0100

added README and Makefile

Diffstat:
AMakefile | 4++++
AREADME.md | 45+++++++++++++++++++++++++++++++++++++++++++++
Mbug.sh | 1+
3 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,4 @@ +install: + cp bug.sh ~/.local/bin/bug + chmod +x ~/.local/bin/bug + echo 'Remember to set $$BUG_PROJECT' diff --git a/README.md b/README.md @@ -0,0 +1,45 @@ +# bug + +This is my fork/rewrite of bug, an obscure cli todo manager I found on the internet + +[Link to the original bug](https://viric.name/soft/bug/index.html) + +## My Changes + +* Input basic info with `read`, so you don't have to navigate around a text file +* Coloured output +* Sorting by priority +* Interactive selection using `fzf`, instead of specifying ID +* Deletion only moves to another file, allowing recovery + +## Dependencies + +* `fzf` + +## Install + +``` +git clone https://github.com/regexghost/bug-fork +cd bug-fork +make install +``` + +Add `BUG_PROJECT=${HOME}/*location*` to `~/.profile` or `~/.bashrc` +e.g. `echo 'BUG_PROJECT="${HOME}/Documents/bug-todo"' >> ~/.bashrc` + +## Usage + +`man bug` to see full usage guide + +### Commands + +`bug list` - List all active todos +`bug view` - View details for a specific todo - uses `fzf` to select +`bug add` - Add new todo +`bug delete` - Delete specific todo - uses `fzf` +`bug edit` - Edit specific todo - uses `fzf` +`bug restore` - Restore deleted todo - uses `fzf` + +## License + +GPL 2 diff --git a/bug.sh b/bug.sh @@ -6,6 +6,7 @@ GREEN="\033[32m" YELLOW="\033[33m" BLUE="\033[34m" MAGENTA="\033[35m" +CYAN="\033[36m" RESET_COLOUR="\033[0m" [ -f /tmp/bug_todo_temp ] && rm /tmp/bug_todo_temp