]> us-delaporte.pagekite.me Git - minion.git/commitdiff
Update interpreter for MacOS functionality - EdTheDev/minion#1 (#2)
authorJoanna Delaporte <joanna@delaporte.us>
Fri, 12 Jun 2026 19:29:49 +0000 (21:29 +0200)
committerEdTheDev <edthedev@noreply.codeberg.org>
Fri, 12 Jun 2026 19:29:49 +0000 (21:29 +0200)
This PR swaps the interpreter from `/usr/bin/bash` to `/bin/bash`, which should support functionality on Linux and MacOS.

Closes EdTheDev/minion#1

Reviewed-on: https://codeberg.org/EdTheDev/minion/pulls/2

bin/daily
bin/mh
bin/ml
bin/mla
bin/mn
bin/mo
bin/moa
bin/mp
bin/ms

index b685ead3a440451684a9a7296888facb47ca58f4..84456cb08a8749044057381e547899544b7902a6 100755 (executable)
--- a/bin/daily
+++ b/bin/daily
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # daily - Opens ~/Journal/YYYY/MM-daily.md
 # Used for tracking day-to-day updates to efforts
 # One file per month
diff --git a/bin/mh b/bin/mh
index f24e21ece0e073c515fc45717189d4af3c613d3f..b453205858484edc209d4c869849f7170bd2e813 100755 (executable)
--- a/bin/mh
+++ b/bin/mh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # mh - Minion Help
 echo "Usage:"
 echo ""
diff --git a/bin/ml b/bin/ml
index 2c9e6c9a3a7ec08022b3d9bb9a818591339f6a62..5c001ea0a98a755962af823e16f756929f8af171 100755 (executable)
--- a/bin/ml
+++ b/bin/ml
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # ml - minion list
 # Finds files in ~/Journal/YYYY whose names match the input
 year=`date +%Y`
diff --git a/bin/mla b/bin/mla
index 95eb0a4f89105e12c964b1eeef9bbd741bbdea95..d26ec843a46d5758773fccb180d30ea7807975f3 100755 (executable)
--- a/bin/mla
+++ b/bin/mla
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # ml - minion list any
 # Finds files in ~/Journal/ (any year) whose names match the input
 find $HOME/Journal -type f -iname "*$1*\.md"
diff --git a/bin/mn b/bin/mn
index 56ecba6de0ef4e83fdf215d52303590f7dc9645f..b3ab1c1d5b382d915e9da1d8bd4f0a9a7d1b0aff 100755 (executable)
--- a/bin/mn
+++ b/bin/mn
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # mn - minion new
 # Opens ~/Journal/YYYY/MM-your-input-here.md
 # in your $EDITOR
diff --git a/bin/mo b/bin/mo
index 70bd57145902f42337021020a82b4a1b7e6ec602..33f25d46b5ee32ac0288348feecd5727f9637d4f 100755 (executable)
--- a/bin/mo
+++ b/bin/mo
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # mo - minion open
 # Like `ml / minion list`, but opens all matches in your $EDITOR
 year=`date +%Y`
diff --git a/bin/moa b/bin/moa
index 38fa4ce75ef2c86e576441ea52ce7506140b99f0..dbed63b42b7485b56cccf3a394fcbb2a0728fa99 100755 (executable)
--- a/bin/moa
+++ b/bin/moa
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # moa - minion open any
 # Like `mla / minion list any`, but opens all matches in your $EDITOR
 files=$(find $HOME/Journal -type f -iname "*$1*\.md")
diff --git a/bin/mp b/bin/mp
index 39056c9e4af3fa3f37c5667608ecca0759faf075..98bd4189483a9e7a5b3253be48d87a91ee1c7927 100755 (executable)
--- a/bin/mp
+++ b/bin/mp
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # mp - minion print
 # Like `ml / minion list`, but gets the markdown file ready to print
 # Will act on a maximum of four files.
diff --git a/bin/ms b/bin/ms
index 5b7e47719370d7ad60a1b5c80dd456df57ee1808..54e085979c036c203351f242efbc8227882db43c 100755 (executable)
--- a/bin/ms
+++ b/bin/ms
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 # ms - minion spellcheck
 # Runs `aspell` on files returned by `ml / minion list`
 files=$(ml $1)