loading...

re: Sam's dotfiles highlights VIEW POST

FULL DISCUSSION
 

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.

 

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.

code of conduct - report abuse