mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor(cli): remove bin/doom.cmd
This batch script hasn't worked for some time. For v3, I'm working on a Emacs TUI porcelain for the bin/doom script that will serve as a replacement/alternative for folks on Windows (or who simply don't want/need the CLI).
This commit is contained in:
25
bin/doom.cmd
25
bin/doom.cmd
@ -1,25 +0,0 @@
|
|||||||
:: Forward the ./doom script to Emacs
|
|
||||||
|
|
||||||
@ECHO OFF
|
|
||||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
|
||||||
|
|
||||||
PUSHD "%~dp0" >NUL
|
|
||||||
|
|
||||||
SET args=
|
|
||||||
SET command=%1
|
|
||||||
|
|
||||||
:LOOP
|
|
||||||
SHIFT /1
|
|
||||||
IF NOT [%1]==[] (
|
|
||||||
SET args=%args% %1
|
|
||||||
GOTO :LOOP
|
|
||||||
)
|
|
||||||
|
|
||||||
IF [%command%]==[run] (
|
|
||||||
start runemacs -Q %args% -l ..\init.el -f "doom-run-all-startup-hooks-h"
|
|
||||||
) ELSE (
|
|
||||||
emacs --quick --script .\doom -- %*
|
|
||||||
)
|
|
||||||
|
|
||||||
POPD >NUL
|
|
||||||
ECHO ON
|
|
Reference in New Issue
Block a user