Last active
July 17, 2024 18:47
-
-
Save pstadler/3859480 to your computer and use it in GitHub Desktop.
Real-time stock tickers shell script (requires jq)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This has been moved: https://github.com/pstadler/ticker.sh |
I ported this to shell. Older versions can be found in the "Revisions" tab.
Keep getting "'jq' is not in the PATH. (See: https://stedolan.github.io/jq/)" when calling it from a Geeklet. Any ideas what could be causing this?
Find your homebrew binary path using echo $(brew --prefix)/bin
. Add something like this to the very beginning of the geeklet:
PATH=/usr/local/bin:$PATH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a note, I couldn't get this to work within Geeklet using rbenv and I tried adding the PATH="/usr/local/bin:$PATH" && eval "$(rbenv init -)" &&
to the script. Great for regular command line use tho!