From 6e6830eabed6ee8a38bebfa677dc3eaee322ec6c Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Sun, 19 Oct 2025 22:59:07 -0400 Subject: oops forgot these --- swenu-path | 6 ++++++ swenu-run | 2 ++ 2 files changed, 8 insertions(+) create mode 100755 swenu-path create mode 100755 swenu-run diff --git a/swenu-path b/swenu-path new file mode 100755 index 0000000..a720d5c --- /dev/null +++ b/swenu-path @@ -0,0 +1,6 @@ +#!/bin/sh + +IFS=: +for dir in $PATH; do + [ -e ${dir} ] && find ${dir} -executable -printf '%f\n' +done | sort -u diff --git a/swenu-run b/swenu-run new file mode 100755 index 0000000..ccb3347 --- /dev/null +++ b/swenu-run @@ -0,0 +1,2 @@ +#!/bin/sh +swenu-path | swenu "$@" | ${SHELL:-"/bin/sh"} & -- cgit v1.2.3