mirror of
https://github.com/cmderdev/cmder.git
synced 2025-07-17 04:59:09 +08:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
bbcabfb730 | |||
75801cbdc8 | |||
9822fa844e | |||
a9f5d552bc | |||
63120b8998 | |||
8cdce27653 | |||
a5691285ec | |||
3223a0391a | |||
a39c632d71 | |||
3b053f8848 | |||
c76950293e |
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ config/.history
|
||||
Thumbs.db
|
||||
*.exe
|
||||
build/
|
||||
Version v*
|
@ -488,7 +488,7 @@
|
||||
<key name="Task1" modified="2014-01-21 18:36:36" build="131215">
|
||||
<value name="Name" type="string" data="{cmd}"/>
|
||||
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\cmder.exe""/>
|
||||
<value name="Cmd1" type="string" data="cmd /k "%CMDER_ROOT%\vendor\init.bat" -new_console:d:%USERPROFILE%"/>
|
||||
<value name="Cmd1" type="string" data="cmd /k "%ConEmuDir%\..\init.bat" -new_console:d:%HOME%"/>
|
||||
<value name="Active" type="dword" data="00000000"/>
|
||||
<value name="Count" type="dword" data="00000001"/>
|
||||
<value name="Hotkey" type="dword" data="00000000"/>
|
||||
|
BIN
msvcp110.dll
BIN
msvcp110.dll
Binary file not shown.
BIN
msvcp120.dll
Normal file
BIN
msvcp120.dll
Normal file
Binary file not shown.
BIN
msvcr110.dll
BIN
msvcr110.dll
Binary file not shown.
BIN
msvcr120.dll
Normal file
BIN
msvcr120.dll
Normal file
Binary file not shown.
@ -1,3 +1,11 @@
|
||||
function Ensure-Exists ($path) {
|
||||
if (-not (Test-Path $path)) {
|
||||
Write-Error "Missing required $path! Ensure it is installed"
|
||||
exit 1
|
||||
}
|
||||
return $true > $null
|
||||
}
|
||||
|
||||
function Ensure-Executable ($command) {
|
||||
try { Get-Command $command -ErrorAction Stop > $null }
|
||||
catch {
|
||||
|
5
vendor/init.bat
vendored
5
vendor/init.bat
vendored
@ -2,6 +2,11 @@
|
||||
:: Sets some nice defaults
|
||||
:: Created as part of cmder project
|
||||
|
||||
:: Find root dir
|
||||
@if not defined CMDER_ROOT (
|
||||
for /f %%i in ("%ConEmuDir%\..\..") do @set CMDER_ROOT=%%~fi
|
||||
)
|
||||
|
||||
:: Change the prompt style
|
||||
:: Mmm tasty lamb
|
||||
@prompt $E[1;32;40m$P$S{git}$S$_$E[1;30;40m{lamb}$S$E[0m
|
||||
|
Reference in New Issue
Block a user