mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00
11 lines
278 B
Bash
Executable file
11 lines
278 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Avoid using git to get project directory, due to
|
|
# https://github.com/radian-software/apheleia/pull/89#issuecomment-1107319617
|
|
|
|
cd "$(dirname "$0")"
|
|
repo="$(cd ../.. && pwd)"
|
|
|
|
exec emacs --batch -L "${repo}" -L . -l apheleia-ft -f "$1"
|