DEV Community

Discussion on: Sam's dotfiles highlights

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

So...

alias gstate='bash ~/.local/bin/gstate.sh'

?

Thread Thread
 
samthor profile image
Sam Thorogood

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.

Thread Thread
 
syntaxseed profile image
SyntaxSeed (Sherri W)

Ooo gotcha.