A collection of Raycast script commands for personal productivity. Mostly written in Deno.
The Raycast doesn't support Deno out of the box. To make these script commands work deno needs to be accessible on the
non-login shell path.
Why is this needed?
From the Raycast script commands readme:
Can I build in a non-login shell?
We only allow Script Commands that run in a non-login shell in this repository as agreed on in our contribution guidelines, due to any dependencies. However, if you need to run your local script as login-shell, you can specify an argument after shebang, e.g.
#!/bin/bash -lfor bash. We also append/usr/local/binto$PATHvariable so you can use your local shell commands without any additional steps. If this is not enough, you can always extend$PATHby adding exportPATH='/some/extra/path:$PATH'at the top of your script.
The default installation path for Deno is ~/.deno/bin. This can be modified by updating the DENO_INSTALL
environment variable before installing Deno.
However, if your environment is already set up a less intrusive modification is to simply symlink ~/.deno/bin/deno
to /usr/local/bin as follows:
# For macOS paths
sudo ln -s /Users/<USER>/.deno/bin/deno /usr/local/bin/deno