From 0444b094757480734fd8c713a30e3f2ae0893a18 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Tue, 26 Nov 2024 19:52:12 -0300 Subject: [PATCH] feat(just): add brew-command-not-found setup (#1874) --- just/bluefin-apps.just | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/just/bluefin-apps.just b/just/bluefin-apps.just index 7b42f7fe184..52981e27167 100644 --- a/just/bluefin-apps.just +++ b/just/bluefin-apps.just @@ -124,3 +124,54 @@ install-k8s-dev-tools: #!/usr/bin/bash echo "Adding Kubernetes command line tools..." brew bundle --file /usr/share/ublue-os/homebrew/kubernetes.Brewfile + +# Set up command-not-found for Homebrew +[group('Apps')] +setup-brew-not-found ACTION="": + #!/usr/bin/env bash + source /usr/lib/ujust/ujust.sh + + OPTION={{ ACTION }} + if [ "$OPTION" == "help" ]; then + echo "Usage: ujust setup-brew-not-found