From bd4dc50787d0b1ad59aba129e7dd2cdd966e74b1 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 5 May 2026 09:20:56 -0500 Subject: Updated gitignore. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 7461d93..18e0b18 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ claude-code-context.json /agent/ /tramp /tree-sitter/ +/.chatgpt-shell.el +/.time-zones.el -- cgit v1.2.3 From b7b16b8b7fc109802a5065a0193228a3a095681a Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 5 May 2026 09:23:14 -0500 Subject: Added hook to request macos permissions for light/dark mode event. --- init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.el b/init.el index 3a79a9f..9f128f6 100644 --- a/init.el +++ b/init.el @@ -342,6 +342,12 @@ (require 'auto-dark) (setq auto-dark-allow-osascript t auto-dark-themes '((solarized-dark) (solarized-light))) +;; Trigger the macOS Automation permission prompt for System Events when +;; launched from Spotlight. ns-do-applescript fails silently without the +;; prompt, but shelling to osascript surfaces TCC. +(when (eq system-type 'darwin) + (call-process "osascript" nil nil nil + "-e" "tell application \"System Events\" to tell appearance preferences to return dark mode")) (auto-dark-mode 1) -- cgit v1.2.3 From 7ec2fcfaebd5cf9c464655534bcc5adce71906c5 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 5 May 2026 09:26:20 -0500 Subject: Install claude-code-context via package-vc instead of local load-path. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 9f128f6..341ca32 100644 --- a/init.el +++ b/init.el @@ -329,7 +329,8 @@ ;;; claude-code-context -(add-to-list 'load-path "~/Dev/code/git/elisp/claude-code-context") +(unless (package-installed-p 'claude-code-context) + (package-vc-install "https://github.com/lukehoersten/claude-code-context")) (require 'claude-code-context) (claude-code-context-mode 1) -- cgit v1.2.3