dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit bc48dab76acdf4f4f0a3dcb3b509f8d63330b6dc
parent 4bd1ac05b0801cc531ae26edadd02cce99ff3e0d
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 23 Jul 2019 14:10:35 +0200

todos: a script to grep all the todos

Former-commit-id: ef8589584cbfce925162ff41c03fc58cb4d9035c
Diffstat:
MREADME.md | 1+
Ascripts/todos | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -44,6 +44,7 @@ If you read a script and see some improvements that could be made, let me know. * `track`: time tracking script. Run `track` to start, `track stop` to stop and show time elapsed in seconds. * `updatemaster`: the ultimate all-in-one update script (Brew, Cask, MAS, pip, etc.). Run with `-h` to see options. * `usbmux`, `tcprelay`: port forwarding. If you want to SSH to a jailbroken iPhone over USB, you can run `tcprelay 22:2222` to forward local port 2222 to the iPhone's SSH port (22), and then `ssh -p 2222 root@localhost`. +* `todos`: print out the todos in the current directory or a specific file. Prints it out in a vim-parseable format. * `vimwiki_md`: convert vimwiki files to markdown, using the vimwiki_md_ex expressions file for sed. Still a work-in-progress and probably very buggy. * `vwtags.py`: generate ctags tag files for vimwiki documents. * `wattpad-scrape`: downloads a Wattpad book as an EPUB file. Usage: `wattpad-scrape $wattpad_url` diff --git a/scripts/todos b/scripts/todos @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +grep -rnw "${1:-.}" -iEe "to\s?do";