My terminal scripts are in a dotfiles repo and therefor publicly available. I don't want the email address to be visible.
To fix this, I put the email address in a private environment variable BW_EMAIL.
I amended the script like this:
#Set Bitwarden login name (email address)
if [[ -z "${BW_EMAIL}" ]]; then
user_email="<INSERT YOUR BITWARDEN LOGIN EMAIL HERE>"
#EXAMPLE:
#user_email="dh024@domain.com"
else
user_email="${BW_EMAIL}"
fi
echo E-mail: $user_email
My terminal scripts are in a dotfiles repo and therefor publicly available. I don't want the email address to be visible.
To fix this, I put the email address in a private environment variable
BW_EMAIL.I amended the script like this: