From 20035074139b6ca7eae92d1010d88e02a712989c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 17 May 2022 11:14:57 -0400 Subject: [PATCH] Move arch linux specific stuff behind hostname check --- dot_zshenv => dot_zshenv.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename dot_zshenv => dot_zshenv.tmpl (79%) diff --git a/dot_zshenv b/dot_zshenv.tmpl similarity index 79% rename from dot_zshenv rename to dot_zshenv.tmpl index f104579..be0cb0d 100644 --- a/dot_zshenv +++ b/dot_zshenv.tmpl @@ -2,11 +2,14 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" +{{- if eq .chezmoi.hostname "amalthea" }} +export EDITOR="nano" +{{- else }} export EDITOR="kate -n -b" +export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" +export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" +{{- end }} export ZDOTDIR="$XDG_CONFIG_HOME/zsh" -export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" -export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" - export GNUPGHOME="$XDG_DATA_HOME"/gnupg