mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Start Emacs daemon from home directory
This commit is contained in:
@@ -4,6 +4,8 @@ set -eu
|
|||||||
|
|
||||||
export SSH_AUTH_SOCK="$HOME/.local/state/ssh-agent/socket"
|
export SSH_AUTH_SOCK="$HOME/.local/state/ssh-agent/socket"
|
||||||
|
|
||||||
|
cd "$HOME"
|
||||||
|
|
||||||
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
|
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
|
||||||
exec chpst -e "$TURNSTILE_ENV_DIR" emacs --fg-daemon
|
exec chpst -e "$TURNSTILE_ENV_DIR" emacs --fg-daemon
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user