From: Joanna Delaporte Date: Fri, 12 Jun 2026 19:29:49 +0000 (+0200) Subject: Update interpreter for MacOS functionality - EdTheDev/minion#1 (#2) X-Git-Url: https://us-delaporte.pagekite.me/gitweb/minion.git/commitdiff_plain/71301fb1786265755a1d03bd4cb1b9eddd8a2b23 Update interpreter for MacOS functionality - EdTheDev/minion#1 (#2) 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 --- diff --git a/bin/daily b/bin/daily index b685ead..84456cb 100755 --- 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 f24e21e..b453205 100755 --- 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 2c9e6c9..5c001ea 100755 --- 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 95eb0a4..d26ec84 100755 --- 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 56ecba6..b3ab1c1 100755 --- 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 70bd571..33f25d4 100755 --- 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 38fa4ce..dbed63b 100755 --- 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 39056c9..98bd418 100755 --- 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 5b7e477..54e0859 100755 --- 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)