From 36ad01f7fa3c94647860f3b0ed73879c608fcf12 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 29 Jan 2022 13:21:01 +0000 Subject: darwin/env.sh: Run script in a login shell We need a login shell to have the right PATH set. Also, we need not to call stty when TERM is empty, which it will be when that script runs. --- dotfiles-darwin/launchd/org.awhk.env.plist | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dotfiles-darwin/launchd/org.awhk.env.plist') diff --git a/dotfiles-darwin/launchd/org.awhk.env.plist b/dotfiles-darwin/launchd/org.awhk.env.plist index 49b42d8..f598479 100644 --- a/dotfiles-darwin/launchd/org.awhk.env.plist +++ b/dotfiles-darwin/launchd/org.awhk.env.plist @@ -5,8 +5,12 @@ Label org.awhk.env - Program - ${ENV_SH} + ProgramArguments + + ${ZSH} + -l + ${ENV_SH} + StandardOutPath ${HOME}/Library/Logs/org.awhk.env.log -- cgit v1.2.3-70-g09d2