function bwUnlock --description "Unlock the bitwarden vault"
    set -xU BW_SESSION (bw unlock --raw (read -s -P "Master Password: "))
end

function bwUnlock --description "Unlock the bitwarden vault"
    if set -q BW_PASSWORD
        set -xU BW_SESSION (bw unlock --raw --passwordenv BW_PASSWORD)
    else
        set -xU BW_SESSION (bw unlock --raw (read -s -P "Master Password: "))
    end
end

Update fish function for unlocking bitwarden to allow the use of the env variable for password
Update fish function for unlocking bitwarden to allow the use of the env variable for password

brentbrownfield/dotfiles