]> apps.delaporte.us Git - dotfiles.git/commitdiff
Migrated to dedicated minion repo
authorEdward <delaport@illinois.edu>
Tue, 2 Jun 2026 15:51:08 +0000 (10:51 -0500)
committerEdward <delaport@illinois.edu>
Tue, 2 Jun 2026 15:51:08 +0000 (10:51 -0500)
bin/mh [deleted file]
bin/ml [deleted file]
bin/mla [deleted file]
bin/mn [deleted file]
bin/mo [deleted file]
bin/moa [deleted file]
bin/mp [deleted file]
bin/ms [deleted file]

diff --git a/bin/mh b/bin/mh
deleted file mode 100755 (executable)
index df48f4c..0000000
--- a/bin/mh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/fish
-echo "Usage:"
-echo ""
-echo "mn - minion new - edit a new file with the year and month in the name"
-echo "mh - minion help - print this help"
-echo "ml - minion list - list all files that match"
-echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)"
-echo "mo - minion open - open all files that match"
-echo "ms - minion spell - open the matching file with `aspell`"
-echo ""
-echo "Examples:"
-echo ""
-echo "mn meeting topic - open a file Journal/2026/04-meeting-topic.md"
-echo "ml 04 - list files created in April"
-echo "mo manager - open files named with 'manager' to edit"
-echo ""
-echo "mla, moa - minion X all - act as `ml` and `mo`, but include all previous years of Journal entries"
-echo "In vi - :r!ml <term> will add list of files to the current buffer"
-echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces"
diff --git a/bin/ml b/bin/ml
deleted file mode 100755 (executable)
index 4acb211..0000000
--- a/bin/ml
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/fish
-set year (date +%Y)
-find $HOME/Journal/$year -type f -iname "*$argv*\.md"
diff --git a/bin/mla b/bin/mla
deleted file mode 100755 (executable)
index 38103ea..0000000
--- a/bin/mla
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/fish
-find $HOME/Journal -type f -iname "*$argv*\.md"
diff --git a/bin/mn b/bin/mn
deleted file mode 100755 (executable)
index 48f98af..0000000
--- a/bin/mn
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/fish
-set year (date +%Y)
-set input $(string join '-' $argv)
-set topic $(string replace -a ' ' '-' $input)
-vim $(printf "$HOME/Journal/$year/%02d-$topic.md" (date +%m))
diff --git a/bin/mo b/bin/mo
deleted file mode 100755 (executable)
index 2ebc8db..0000000
--- a/bin/mo
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/fish
-set year (date +%Y)
-vim $(find $HOME/Journal/$year -type f -iname "*$argv*\.md")
diff --git a/bin/moa b/bin/moa
deleted file mode 100755 (executable)
index f11065e..0000000
--- a/bin/moa
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/fish
-vim $(find $HOME/Journal -type f -iname "*$argv*\.md")
diff --git a/bin/mp b/bin/mp
deleted file mode 100755 (executable)
index 45291cb..0000000
--- a/bin/mp
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/fish
-set year (date +%Y)
-set files $(find $HOME/Journal/$year -type f -iname "*$argv*\.md")
-
-if test (count $files) -lt 5;
-       for file in $files
-        mdtohtml $file > $file.html
-        firefox $file.html
-       end;
-else
-       echo "More than 5 files found."
-end
-
-
diff --git a/bin/ms b/bin/ms
deleted file mode 100755 (executable)
index 76e9dfd..0000000
--- a/bin/ms
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/fish
-aspell check "$(ml $argv)"