diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-19 22:59:07 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-19 22:59:07 -0400 |
| commit | 6e6830eabed6ee8a38bebfa677dc3eaee322ec6c (patch) | |
| tree | ec77a697bb88a9ed04d74be3e1596cb2a553ba17 | |
| parent | a3edeef3d506d3a498c727fc4ba96cfa99673622 (diff) | |
oops forgot these
| -rwxr-xr-x | swenu-path | 6 | ||||
| -rwxr-xr-x | swenu-run | 2 |
2 files changed, 8 insertions, 0 deletions
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"} & |
