Start Emacs daemon from home directory

This commit is contained in:
Fabio Scotto di Santolo
2026-04-12 21:54:15 +02:00
parent de2430316f
commit 675f686a46

View File

@@ -4,6 +4,8 @@ set -eu
export SSH_AUTH_SOCK="$HOME/.local/state/ssh-agent/socket"
cd "$HOME"
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" emacs --fg-daemon
fi