mirror of
https://github.com/Maximus5/ConEmu.git
synced 2025-05-09 01:01:08 +08:00
An implementation of #2385, persistant user settings
Tested and working on my machine.
This commit is contained in:
parent
3f0b584550
commit
e2ca564fd3
@ -1,5 +1,7 @@
|
||||
@rem !!! Do not change this file in-place, change its copy instead !!!
|
||||
@rem !!! Otherwise you will lose your settings after next update !!!
|
||||
@rem !!! Do not change this file in-place, otherwise you will lose !!!
|
||||
@rem !!! your settings after next update. !!!
|
||||
@rem !!! Create "%USERPROFILE%\.conemu\CmdInit.cmd" and add your !!!
|
||||
@rem !!! custom settings there. !!!
|
||||
|
||||
@echo off
|
||||
|
||||
@ -50,6 +52,11 @@ rem Set new prompt
|
||||
PROMPT %ConEmuPrompt1%%ConEmuPrompt2%%ConEmuPrompt3%
|
||||
:end_git
|
||||
|
||||
rem User profile additions
|
||||
if exist "%USERPROFILE%\.conemu\CmdInit.cmd" (
|
||||
call "%USERPROFILE%\.conemu\CmdInit.cmd"
|
||||
)
|
||||
|
||||
rem Support additional batch execution as `{cmd} "path\to\batch.cmd" <arguments>`
|
||||
rem Due to parsing rules of cmd.exe last argument must NOT ends with "
|
||||
if "%~1" == "" goto clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user