diff --git a/bin/cheat.bat b/bin/cheat.bat new file mode 100644 index 0000000..08f713f --- /dev/null +++ b/bin/cheat.bat @@ -0,0 +1,10 @@ +@echo off + +if not defined EDITOR (set EDITOR=write) + +:: Retrieve the path to python executable. +for /f "delims=" %%A in ('where python') do set "PATHOFPYTHON=%%A" +%PATHOFPYTHON% %PATHOFPYTHON%\..\Scripts\cheat %* + +:: Remove this variable to avoid polluting the environment. +set PATHOFPYTHON=