holzschu / a-Shell-commands

shell commands, pre-compiled to webAssembly, ready to use in a-Shell
554 stars 21 forks source link

Are shell scripts supported? #12

Closed atnbueno closed 2 years ago

atnbueno commented 2 years ago

I've tried with a simple test.sh file with a single command: date. After giving it 755 permissions, if I try to run it, it says "command not found" (I've tried running it as ./test.sh and moving it to ~/Documents/bin, which is in $PATH).

atnbueno commented 2 years ago

Sorry. Wrong repo.

holzschu commented 2 years ago

Hi, thanks for closing the issue. Yes, shell scripts themselves are not supported (yet). This is very hard, but I keep trying regularly. For now, you have Perl, Python and Lua scripts. Also, Shortcuts can run multiple commands in sequence, but that's not the same.