mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 07:21:36 +01:00
fcb82778e4
* Check VISUAL, CHEAT_EDITOR, EDITOR environment variables before falling back to wordpad as the default editor.
9 lines
193 B
Batchfile
9 lines
193 B
Batchfile
@echo OFF
|
|
|
|
if not defined CHEAT_EDITOR if not defined EDITOR if not defined VISUAL (
|
|
set CHEAT_EDITOR=write
|
|
)
|
|
|
|
REM %~dp0 is black magic for getting directory of script
|
|
python %~dp0cheat %*
|