Load credentials into your shell via Bitwarden CLI - Fish edition
2022-11-29
Recently I work with GitHub CLI a lot, and having to constantly fire up Bitwarden app to retrieve GITHUB_TOKEN
gets old real fast...
I was thinking of storing it in a gist in a password manager, luckily someone had the same idea and implemented it. The only issue is that I use fish shell. But we live in a world where there are many ways to interact with the shell, so it follows that you can translate zsh syntax to fish syntax.
For the original snippet in zsh, translated as fish: