Include a sig command with all functions listed and built-in

This commit is contained in:
sigonasr2, Sig, Sigo 2022-05-06 18:34:25 +00:00
parent eedf1a6f8e
commit 8a620e3c90

11
sig
View File

@ -1 +1,12 @@
if [ -z "$1" ]
then
echo ""
echo " Usage: ./sig <command> {args}"
echo ""
echo " Command List:"
ls -1 ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /'
echo ""
exit
fi
./scripts/$1.sh "${*:2}" ./scripts/$1.sh "${*:2}"