Add chezmoi functions & poetry token
This commit is contained in:
parent
a1f578822f
commit
98360f4a61
|
@ -20,6 +20,8 @@ set -gx GITLABBER_GIT_CONCURRENCY 10
|
|||
set -gx PYPI_USERNAME __token__
|
||||
set -gx PYPI_TOKEN {{ (bitwardenFields "item" "PyPi").token.value | quote }}
|
||||
set -gx POETRY_PYPI_TOKEN_PYPI $PYPI_TOKEN
|
||||
set -gx POETRY_HTTP_BASIC_PYPI_USERNAME $PYPI_USERNAME
|
||||
set -gx POETRY_HTTP_BASIC_PYPI_PASSWORD $PYPI_TOKEN
|
||||
|
||||
set -gx GITEA_TOKEN {{ (bitwardenFields "item" "git.augendre.info").fish_config_token.value | quote }}
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
function chezmoiapply
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi apply
|
||||
end
|
|
@ -0,0 +1,9 @@
|
|||
function chezmoiupdate
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi update
|
||||
end
|
Loading…
Reference in New Issue