Do you mind sharing how you alias gstate since it's a script not a function...?
I just put the gstate file inside my $PATH. I personally have a folder ~/.local/bin where this stuff lives.
alias gstate='bash ~/.local/bin/gstate.sh'
Well, if ~/.local/bin/ is in your $PATH (if you're on Windows I'm not sure what this would look like), then you can just type "gstate.sh", or just remove the extension and type "gstate". There's no need for the alias in this case.
Fantastic. Thank you! I like your gstate script output. :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.