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/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'dotfiles-darwin/launchd/Makefile') diff --git a/dotfiles-darwin/launchd/Makefile b/dotfiles-darwin/launchd/Makefile index 54d7b2a..83d0c81 100644 --- a/dotfiles-darwin/launchd/Makefile +++ b/dotfiles-darwin/launchd/Makefile @@ -1,3 +1,4 @@ +export ZSH := $(shell which zsh) export ENV_SH := $(realpath ../bin/env.sh) all: $(foreach plist, $(wildcard *.plist), ~/Library/LaunchAgents/${plist}) -- cgit v1.2.3-70-g09d2