diff --git a/sh/recombine b/sh/recombine index 2204f52..ca833a8 100644 --- a/sh/recombine +++ b/sh/recombine @@ -22,7 +22,7 @@ case "$sh" in esac printf %s\\n '#!/usr/bin/env false' '[ -n "$preload" ] || exit 1' '' -for f in ~/sh/*; do +for f in "${HOME:?}/sh"/*; do [ -n "${f##*.*}" ] && [ -f "$f" ] || continue i=10 sh= while IFS= read -r line; do