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:
parent
ed02241cb8
commit
c9acdb72a4
1 changed files with 0 additions and 25 deletions
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
|
|
Loading…
Add table
Add a link
Reference in a new issue