From 832b35eebd6d3a2c70d9729c6ea2399e029a41eb Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 22 Feb 2026 20:50:39 +0000 Subject: [PATCH] Add env --- .local/bin/env | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .local/bin/env diff --git a/.local/bin/env b/.local/bin/env new file mode 100644 index 0000000..4728899 --- /dev/null +++ b/.local/bin/env @@ -0,0 +1,11 @@ +#!/bin/sh +# add binaries to PATH if they aren't added yet +# affix colons on either side of $PATH to simplify matching +case ":${PATH}:" in + *:"$HOME/.local/share/../bin":*) + ;; + *) + # Prepending path in case a system-installed binary needs to be overridden + export PATH="$HOME/.local/share/../bin:$PATH" + ;; +esac