mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-15 01:15:25 -04:00
Hey ou
Yest you Aha You yesah
This commit is contained in:
parent
ae6e79bcf4
commit
d4687f6254
25 changed files with 253 additions and 59 deletions
|
@ -29,14 +29,14 @@ fi
|
|||
case "${find_tool}" in
|
||||
fd|fdfind)
|
||||
# shellcheck disable=2016,2215
|
||||
files="$(${find_tool} . "${group}"/ --hidden --exclude=zsh --type=f \
|
||||
files="$(${find_tool} . scripts/ "${group}"/ --hidden --exclude=zsh --type=f \
|
||||
--exec sh -c '
|
||||
case $( file -bi "$1" ) in (*/x-shellscript*)
|
||||
printf "%s\n" "$1";; esac' sh)"
|
||||
files="${files} $(${find_tool} . --max-depth=1 --type=f --extension=sh)"
|
||||
;;
|
||||
find)
|
||||
files="$(find "${group}"/ -not \( -path "*/zsh" -prune \) -type f -exec sh -c '
|
||||
files="$(find scripts/ "${group}"/ -not \( -path "*/zsh" -prune \) -type f -exec sh -c '
|
||||
case $( file -bi "$1" ) in (*/x-shellscript*) exit 0;; esac
|
||||
exit 1' sh {} \; -print)"
|
||||
files="${files} $(find . -maxdepth 1 -type f -name "*.sh")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue