As a bash user, I find myself uncomfortable using eval on a strange command. Instead, I find myself using alias in my .bashrc as such
alias ops='export OP_SESSION_TEAM="$(op signin TEAM --output=raw)"'
where TEAM is my actual team's name. However, this has a serious drawback where if I try to Ctrl-C, my terminal becomes all messed up.
Does anybody have any other ways they use to securely set bash variables? Thank you.
I'm using op CLI v .2
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided