From f7acf75488f9c4b4a1dc9e499a66e10e093a075b Mon Sep 17 00:00:00 2001 From: Marcus Crane Date: Tue, 5 Nov 2024 13:34:28 +1300 Subject: [PATCH] Remove zsh inline git config as it clashes with templated file Signed-off-by: Marcus Crane --- zshrc.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/zshrc.md b/zshrc.md index 8dda5b7..38786de 100644 --- a/zshrc.md +++ b/zshrc.md @@ -133,7 +133,7 @@ TODO: Why is Homebrew on Linux installed as its own user Some homebrew setup that is needed on Linux ```bash -{{- if eq .chezmoi.os "darwin" -}} +{{ if eq .chezmoi.os "darwin" -}} eval "$(brew shellenv)" {{ end -}} ``` @@ -189,7 +189,7 @@ Pretty boring stuff. Crystal on macOS Silicon fails with an architecture error for me without this `PKG_CONFIG_PATH` as an example ```bash -{{- if eq .chezmoi.os "darwin" -}} +{{ if eq .chezmoi.os "darwin" -}} export LDFLAGS="-L$(brew --prefix)/opt/openssl@1.1/lib" export CPPFLAGS="-I$(brew --prefix)/opt/openssl@1.1/include" export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@1.1/lib/pkgconfig" @@ -258,15 +258,6 @@ if [[ $(command -v fzf) ]]; then fi ``` -### git - -To save me having to set up each machine, I just set my Git identifiers each time - -```bash -git config --global user.name "{{ .name }}" -git config --global user.email "{{ .email }}" -``` - ### Homebrew It can take quite some time if Homebrew decides to automatically update everything so let's turn that off