fix: rbw and xcode setup

This commit is contained in:
Peter 2024-06-18 17:43:37 +02:00
parent b2bec3b070
commit 3622dba974
Signed by: prskr
GPG key ID: F56BED6903BC5E37
3 changed files with 6 additions and 3 deletions

View file

@ -7,7 +7,7 @@ export LIBVIRT_DEFAULT_URI="qemu:///session"
# Libvirt #
# dotnet #
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0
# dotnet #

View file

@ -13,7 +13,7 @@ export XDG_STATE_HOME=$HOME/.local/state
export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh"
{{- if eq .chezmoi.os "darwin" }}
export PATH="$PATH:/opt/homebrew/bin"
export PATH="$PATH:/opt/homebrew/bin:/Applications/Xcode.app/Contents/Developer/usr/bin"
{{- end }}
# scripts from ~/bin

View file

@ -36,8 +36,11 @@ do
[ -n "$user" ] && output=$(rbw get --full "$arg" "$user") && break
output=$(rbw get --full "$arg") && break
done || exit
{{ if eq .chezmoi.os "darwin" }}
printf '%s\n' "$output" | gsed -n '
{{- else }}
printf '%s\n' "$output" | sed -n '
{{- end }}
1{ s/^/password=/p }
s/^Username: /username=/p
s/^URI: /host=/p