poolpog / bash-otp

One-time Password generator for CLI using bash, oathtool
MIT License
135 stars 24 forks source link

Configurable "tokenfiles" directory via environment variable #4

Closed zakame closed 2 years ago

zakame commented 6 years ago

This adds a BASH_OTP_TOKENFILES_DIR environment variable that the user can set to customize the location of token files. This allows the *.sh scripts to work outside of the repo directory, for installation in e.g. bash-it/zplug/antigen as managed commands.


This change is Reviewable

zakame commented 2 years ago

Wow, thanks! Been using this all the while with no issues 👍