diff options
author | luxagraf <sng@luxagraf.net> | 2022-12-25 09:22:40 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-12-25 09:22:40 -0600 |
commit | 179932973735fa31c976adb4287829b3f108264d (patch) | |
tree | 025fa9578795a82a575634831e8542220f1ae845 | |
parent | d5bae92083ba93193aff68b4a76cdec2f948b552 (diff) |
added latest changes to gtd scripts
-rw-r--r-- | .bash_history | 350 | ||||
-rw-r--r-- | .bashrc | 18 |
2 files changed, 365 insertions, 3 deletions
diff --git a/.bash_history b/.bash_history index 91fe4b5..febc61a 100644 --- a/.bash_history +++ b/.bash_history @@ -30009,3 +30009,353 @@ rm apps.txt mv apps-new.txt apps.txt #1671579050 gs +#1671579055 +v +#1671579133 +ranger +#1671578817 +ranger +#1671482769 +ranger +#1671481699 +v +#1671581565 +yt https://www.youtube.com/watch?v=qdbJJ8UhM1I +#1671582421 +ranger +#1671581478 +newsboat +#1671586038 +yt https://www.youtube.com/watch?v=sAPBYSbnDhE +#1671586144 +ranger +#1671635064 +ca "email netgear guy about M6 arriving" +wired @email +#1671635139 +na +#1671635142 +na wired +#1671635163 +ean wired +#1671635189 +na wired +#1671635202 +na wired @email +#1671635210 +na wired +#1671635225 +mutt +#1671659834 +yt https://rumble.com/v20xews-the-covid-redemption-with-tim-robbins-048-stay-free-with-russell-brand.html +#1671661324 +ca "email jack about montezuma canyon" @email "https://animaltreks.wordpress.com/2022/03/11/anza-borrego-or-bust/" +#1671661331 +na notwired +#1671661344 +na notwired @email +#1671661353 +acat +#1671661372 +ap +#1671661474 +source .bashrc +#1671661482 +pa email +#1671661501 +pl +#1671661550 +pc "write an article about grapheneos" +wired "https://grapheneos.org/features" +#1671661552 +pl +#1671661378 +v .bashrc +#1671721733 +na "write garmin 255 review" +wired @laptop +#1671721739 +ca "write garmin 255 review" +wired @laptop +#1671721746 +ea wired +#1671722039 +pl +#1671722069 +ca "writes review of Nemo tent" +wired @laptop +#1671722091 +pc "write guide to sleeping bags" +wired +#1671722107 +pc "write guide to backyard astronomy" +wired +#1671722124 +ca "writes LineageOS article" +wired @laptop +#1671722148 +pc "write birding guide with medea" +wired +#1671722169 +pl +#1671722171 +na +#1671722181 +@less +#1671722200 +da wired +#1671722207 +na +#1671722240 +da wired +#1671722257 +na +#1671722274 +da mail +#1671722278 +na +#1671722302 +da +#1671722314 +na +#1671722360 +ean +#1671722413 +pc "write review of gosun solar oven" +#1671722425 +pc "write guide to fixing your computer" +#1671722441 +pc "write rave about drip water filters" +#1671733416 +pl +#1671733425 +pl wired +#1671733428 +pl +#1671733432 +pl wired +#1671733439 +pe +#1671733457 +pl +#1671733466 +pe write +#1671733471 +pe +#1671733483 +pl +#1671733501 +pe +#1671733512 +pl +#1671733533 +pe +#1671733599 +pc "write article on getting started with linux" +wired @laptop +#1671733622 +v notes/gtd/proj\ write\ an\ article\ about\ grapheneos.txt +#1671733632 +v notes/gtd/proj\ write\ article\ on\ getting\ started\ with\ linux.txt +#1671733715 +source .bashrc +#1671733757 +pc "do more with your gopro (accessories guide)" +wired @laptop +#1671733783 +source .bashrc +#1671733785 +pc "do more with your gopro (accessories guide)" +wired @laptop +#1671733789 +pl +#1671733792 +pl wired +#1671733849 +mv notes/gtd/proj\ do\ more\ with\ your\ gopro\ \(accessories\ guide\).txt notes/gtd/proj\ write\ do\ more\ with\ your\ gopro\ \(accessories\ guide\).txt +#1671733852 +pl +#1671733861 +wcw +#1671733962 +vdirsyncer sync lxf_calendar/wired +#1671733989 +pl +#1671734036 +pc "write best podcast apps guide" +wired @laptop +#1671734038 +pl +#1671734083 +source .bashrc +#1671734085 +pl +#1671734119 +source .bashrc +#1671734120 +pl +#1671734222 +source .bashrc +#1671734223 +pl +#1671734294 +source .bashrc +#1671734294 +pl +#1671734308 +source .bashrc +#1671734308 +pl +#1671734384 +source .bashrc +#1671734384 +pl +#1671734436 +source .bashrc +#1671734437 +pl +#1671722033 +v +#1671734543 +na wired +#1671734826 +wctdd +#1671733548 +v .bashrc +#1671739572 +source .bashrc +#1671739575 +ea wired +#1671739697 +na call +#1671739699 +na +#1671739799 +ca "call in firebox stove or approve expense" +wired @email +#1671739815 +ca "call in folding saw" +wired @email +#1671739818 +ea +#1671739854 +na +#1671735042 +s +#1671757136 +yt https://www.youtube.com/watch?v=yQXJbsRWLvQ +#1671757237 +yt https://www.youtube.com/watch?v=Mjb0los-v8Q +#1671756458 +newsboat +#1671757465 +ranger +#1671809158 +ca "call in thermoworks mini" +wired @mail +#1671809510 +v +#1671809163 +ea wired +#1671809688 +pl +#1671809702 +ea wired +#1671809712 +wcw +#1671809723 +wctdd +#1671810105 +s +#1671810248 +na wired +#1671810265 +wctdd +#1671810282 +wctd +#1671810292 +pl +#1671810302 +pe +#1671734767 +v +#1671810357 +s +#1671810703 +pl +#1671810705 +na +#1671810711 +na notwired +#1671810734 +da +#1671810743 +na +#1671810747 +na notwired +#1671810807 +ea wired +#1671810820 +na notwired +#1671810835 +pl notwired +#1671810837 +pl +#1671810853 +s +#1671810939 +ca "Secure throttle return spring better" +bus @bus +#1671810976 +pc "Look into how the kick down linkage is supposed to work so we can downshift at stoplights" +bus @bus +#1671810979 +pl +#1671810982 +pe +#1671811044 +mv notes/gtd/proj\ Look\ into\ how\ the\ kick\ down\ linkage\ is\ supposed\ to\ work\ so\ we\ can\ downshift\ at\ stoplights.txt notes/gtd/proj\ fix\ kick\ down\ linkage\ to\ downshift\ at\ stoplights.txt +#1671811046 +pl +#1671811070 +ca "update American Express complaint with a note about the eBay message" @laptop +#1671811072 +na +#1671811076 +na notwired +#1671810913 +v notes/\@inbox.txt +#1671811087 +v notes/\@errands.txt +#1671811553 +calc 57/2 +#1671811667 +calc 69/25 +#1671811682 +calc 98/50 +#1671811579 +v notes/address.txt +#1671841797 +yt https://www.youtube.com/watch?v=0LyW6IkOPYg&t=2s +#1671841827 +fdisk -l +#1671841844 +sudo mount /dev/sda1 /mnt/card +#1671841849 +ranger /mnt/card/ +#1671841969 +sudo umount /mnt/card +#1671842341 +fdisk -l +#1671842358 +sudo mount /dev/sda1 /mnt/card +#1671842367 +ranger /mnt/card/ +#1671842660 +sudo umount /mnt/card +#1671841860 +ranger audio/ +#1671846401 +na +#1671846405 +na notwired +#1671732785 +mutt +#1671659976 +ranger +#1671981345 +sudo systemctl start bluetooth.service +#1671981658 +pac -S pulseaudio-bluetooth` +#1671981662 +pac -S pulseaudio-bluetooth +#1671981684 +sudo systemctl restart bluetooth.service +#1671981734 +cd .dotfiles/ +#1671981736 +gs +#1671981742 +ga .bashrc @@ -272,7 +272,6 @@ function ca() { # ca = create action var="$GTD_DIR$1.txt" touch "$var" - echo "$2" if [ "x$2" != "x" ]; then echo "$2" >"$var" fi @@ -383,6 +382,16 @@ function da(){ fi } +function pa() { + # pa = print action + # pull a list of tasks with an optional search term + # then cat the contents of the file + SEL=$(rg --max-depth=1 -l $1 $GTD_DIR -g '!proj*'| cut -c 21- | fzf -e -i --bind 'tab:up') + #trickery to add to beginning of the file + content="$GTD_DIR$SEL" + cat "$content" +} + ## Project functions function pc(){ # pc = project create @@ -391,6 +400,9 @@ function pc(){ if [ "x$2" != "x" ]; then echo "$2" >"$proj" fi + if [ "x$3" != "x" ]; then + echo "$3" >>"$proj" + fi } function pl(){ # pl = project list @@ -398,13 +410,13 @@ function pl(){ if [ $# -eq 0 ]; then echo '----------- all projects ----------' echo ' ' - rg --files $GTD_DIR | rg -w proj* | cut -c 26- | rev | cut -c 5- | rev + rg --files $GTD_DIR --line-number --sort path | rg -w proj* | cut -c 26- | rev | cut -c 5- | rev | nl echo ' ' echo '-----------------------------------' else echo "--------- all $1 projects ----------" echo ' ' - rg $1 $GTD_DIR | rg -w proj* | cut -c 26- | rev | cut -c 12- | rev + rg $1 $GTD_DIR | rg -w proj* --line-number --sort path | cut -c 26- | rev | cut -c 12- | rev | nl echo ' ' echo '---------------------------------------' fi |