update
This commit is contained in:
parent
5969895920
commit
31d12f7d28
10 changed files with 67 additions and 1 deletions
|
|
@ -24,3 +24,18 @@ Set-PSReadLineOption -PredictionSource History
|
|||
|
||||
$env:POWERSHELL_TELEMETRY_OPTOUT = 1
|
||||
$env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
|
||||
|
||||
$tokens = @(
|
||||
@{
|
||||
name = "GITLAB_TOKEN"
|
||||
value = "cli-gitlab"
|
||||
}
|
||||
)
|
||||
|
||||
function unlockbw {
|
||||
$env:BW_SESSION = "$(bw unlock --raw)"
|
||||
|
||||
foreach ($token in $tokens) {
|
||||
Set-Variable -Name $token.name -Value $(bw get password $token.value) -Scope script
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue