Commit Graph

30 Commits

Author SHA1 Message Date
Dylan Lom 569ee93828 Add todo command to gut
gut todo `git grep`'s for todo's and fixme's based on flags. By default
it outputs a summary (-c).

Add very important comment to confirm
2021-05-16 19:13:00 +10:00
Dylan Lom 93d7497e7d Add config file for pasta
Instead of using values hard-coded into the script, read from
~/.config/pastarc. Prompt user to configure if file does not exist

Test for import command as well as xclip in pasta
2021-04-26 22:46:29 +10:00
Dylan Lom b3791d5d4d Allow for arbitrary prompts and options in confirm
* Rewrite confirm in c
* Add str_dupe and str_toupper to util.c/util.h
2021-04-25 21:03:26 +10:00
Dylan Lom 9d2ff81c61 Order gut functions alphabetically 2021-04-25 16:03:02 +10:00
Dylan Lom 221059f759 Add gut whoami command 2021-04-24 21:00:56 +10:00
Dylan Lom 4cf693abd0 Tidy up gut commit some more, improve gut amend 2021-04-24 20:58:54 +10:00
Dylan Lom e5ab9fa976 Use internal add wrapper in commit 2021-04-24 20:50:33 +10:00
Dylan Lom c879754b5d Fix gut add and commit commands
* Add `gut root` command
* Remove alias commands (for now)
2021-04-24 20:46:02 +10:00
Dylan Lom c28f163394 Use .sh file extension in src/
* Re-write timestamp in sh instead of tcl
2021-04-24 13:51:30 +10:00
Dylan Lom 207a824e75 Add MVP `confirm', WIP `gut' 2021-04-22 22:51:22 +10:00
Dylan Lom 177c5b7ddc Add -g (get) and -x (xclip) flags to pasta
* -g curl's the file from rest -- TODO: implement portable HTTP Get
  client
* -x puts the remote path in the xclipboard (selection clipboard) with
  the xclip command (if installed)
2021-03-05 13:50:25 +11:00
Dylan Lom 139058b9b7 Rename lines back to line
I think it's easier to remember
2021-02-26 13:07:29 +11:00
Dylan Lom 683ea1a138 Use truthy in pasta
* Use EXIT_SUCCESS and EXIT_FAILURE macros in truthy for clarity
2021-02-23 17:55:40 +11:00
Dylan Lom a124089295 Rename line to lines
* It can now extract multiple lines, I'm not super excited about the
  code, but it works at least
* Add ADVANCE_PTR macro to util
2021-02-22 22:26:59 +11:00
Dylan Lom 5be53acc72 Refactor line
* Add license to util.c
2021-02-21 12:41:59 +11:00
Dylan Lom c027d9dc90 Extend util 2021-02-20 12:17:49 +11:00
Dylan Lom 278cf4eff1 Restructure project, Use build.sh
* I don't like makefiles...
* Fix cast warning in countdown.c
2021-02-20 11:26:04 +11:00
Dylan Lom 76a7cf830e Add truthy 2021-02-17 22:35:31 +11:00
Dylan Lom 56b186cd40 Add -c flag to pasta
Seperate config-y things into variables
2021-02-17 21:47:51 +11:00
Dylan Lom 7b556edcb9 Move util/util.h to util.h 2021-02-09 18:33:25 +11:00
Dylan Lom 32616752d1 Bump to v0.0.1 2021-02-01 22:28:13 +11:00
Dylan Lom b9e2de053b Add manpages for countdown, line and sign 2020-12-06 17:13:52 +11:00
Dylan Lom e5f8df45b4 Add manpages for stopwatch, suptime and timestamp 2020-12-06 16:20:31 +11:00
Dylan Lom cce6188649 Add line 2020-12-06 14:50:01 +11:00
Dylan Lom 60cfa762ce Update package depends 2020-12-06 13:35:06 +11:00
Dylan Lom ba1ffbb380 Add countdown
Add util/util.h
Use util/util.h in stopwatch
Add distdir make target
2020-11-29 16:35:39 +11:00
Dylan Lom b1fc2508d3 Add stopwatch
Store DEBIAN/control in src/ until build. This makes the gitignore,
clean, etc. simpler.
2020-11-29 14:56:37 +11:00
Dylan Lom c819f5107f Add pasta
Gitignore a.out, dist/usr/
2020-11-20 18:39:57 +11:00
Dylan Lom f9906870aa Add suptime
Reorganise the Makefile
Add LICENSE
Change license in sign and timestamp to 0BSD
2020-11-20 10:39:42 +11:00
Dylan Lom 1cac666ad8 Add sign script
Re-work into one big package, since a single package per script is kind
of silly
2020-11-18 23:21:56 +11:00