From 6e3352485922c282d80cef856e3cdcec69a14061 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 5 Apr 2024 15:39:51 -0400 Subject: [PATCH] Failed with auto-commit launchd service because gpg signing --- .../com.michael.dotfiles.commit.plist | 31 +++++++++++++++++++ zsh/config/.zshenv | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 macOS/LaunchAgents/com.michael.dotfiles.commit.plist diff --git a/macOS/LaunchAgents/com.michael.dotfiles.commit.plist b/macOS/LaunchAgents/com.michael.dotfiles.commit.plist new file mode 100644 index 0000000..9984cd4 --- /dev/null +++ b/macOS/LaunchAgents/com.michael.dotfiles.commit.plist @@ -0,0 +1,31 @@ + + + + + Label + com.micheal.dotfiles.commit + + WorkingDirectory + /Users/michael/.dotfiles + + ProgramArguments + + /Users/michael/.local/share/scripts/auto-git-commit + + + StartInterval + 3600 + + KeepAlive + + + RunAtLoad + + + StandardOutPath + /tmp/com.michael.dotfiles.commit.log + + StandardErrorPath + /tmp/com.michael.dotfiles.commit.error.log + + diff --git a/zsh/config/.zshenv b/zsh/config/.zshenv index 00493a9..830146e 100755 --- a/zsh/config/.zshenv +++ b/zsh/config/.zshenv @@ -54,7 +54,7 @@ export ANSIBLE_MACOS_PLAYBOOK_DIR="$GHREPOS/ansible/ansible-macos-playbook" export SITES="$GHREPOS/sites" # NPM -export NPM_CONFIG_CACHE="$HOME/.local/npm" +export NPM_CONFIG_CACHE="$XDG_DATA_HOME/npm" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" # Go