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