fix: rbw and xcode setup
This commit is contained in:
parent
b2bec3b070
commit
3622dba974
3 changed files with 6 additions and 3 deletions
|
@ -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 #
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue