mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
pulled in upstream development branch
This commit is contained in:
commit
7f43014b68
6
vendor/init.bat
vendored
6
vendor/init.bat
vendored
@ -37,7 +37,7 @@
|
|||||||
set "GIT_INSTALL_ROOT=%ProgramFiles%\Git"
|
set "GIT_INSTALL_ROOT=%ProgramFiles%\Git"
|
||||||
) else if exist "%ProgramFiles(x86)%\Git" (
|
) else if exist "%ProgramFiles(x86)%\Git" (
|
||||||
set "GIT_INSTALL_ROOT=%ProgramFiles(x86)%\Git"
|
set "GIT_INSTALL_ROOT=%ProgramFiles(x86)%\Git"
|
||||||
) else if exist "%CMDER_ROOT%\vendor" (
|
) else if exist "%CMDER_ROOT%\vendor\git-for-windows" (
|
||||||
set "GIT_INSTALL_ROOT=%CMDER_ROOT%\vendor\git-for-windows"
|
set "GIT_INSTALL_ROOT=%CMDER_ROOT%\vendor\git-for-windows"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -49,7 +49,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
:: Enhance Path
|
:: Enhance Path
|
||||||
@set PATH=%CMDER_ROOT%\bin;%PATH%;%CMDER_ROOT%
|
@set PATH=%CMDER_ROOT%\bin;%PATH%;%CMDER_ROOT%\
|
||||||
|
|
||||||
:: Add aliases
|
:: Add aliases
|
||||||
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
|
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
|
||||||
@ -70,7 +70,7 @@
|
|||||||
@if defined CMDER_START (
|
@if defined CMDER_START (
|
||||||
@cd /d "%CMDER_START%"
|
@cd /d "%CMDER_START%"
|
||||||
) else (
|
) else (
|
||||||
@if "%CD%\" == "%CMDER_ROOT%" (
|
@if "%CD%\" == "%CMDER_ROOT%\" (
|
||||||
@cd /d "%HOME%"
|
@cd /d "%HOME%"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
6
vendor/profile.ps1
vendored
6
vendor/profile.ps1
vendored
@ -24,6 +24,12 @@ if( -not $env:PSModulePath.Contains($CmderModulePath) ){
|
|||||||
$env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;")
|
$env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
Get-command -Name "vim" -ErrorAction Stop >$null
|
||||||
|
} catch {
|
||||||
|
$env:Path += ";$env:CMDER_ROOT\vendor\git-for-windows\usr\share\vim\vim74"
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
# Check if git is on PATH, i.e. Git already installed on system
|
# Check if git is on PATH, i.e. Git already installed on system
|
||||||
Get-command -Name "git" -ErrorAction Stop >$null
|
Get-command -Name "git" -ErrorAction Stop >$null
|
||||||
|
8
vendor/sources.json
vendored
8
vendor/sources.json
vendored
@ -1,8 +1,8 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "git-for-windows",
|
"name": "git-for-windows",
|
||||||
"version": "v2.6.2.windows.1",
|
"version": "v2.6.3.windows.1",
|
||||||
"url": "https://github.com/git-for-windows/git/releases/download/v2.6.2.windows.1/PortableGit-2.6.2-32-bit.7z.exe"
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.6.3.windows.1/PortableGit-2.6.3-32-bit.7z.exe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "clink",
|
"name": "clink",
|
||||||
@ -11,8 +11,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conemu-maximus5",
|
"name": "conemu-maximus5",
|
||||||
"version": "151025",
|
"version": "151109",
|
||||||
"url": "https://github.com/Maximus5/ConEmu/releases/download/v15.10.25/ConEmuPack.151025.7z"
|
"url": "https://github.com/Maximus5/ConEmu/releases/download/v15.11.09/ConEmuPack.151109.7z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "clink-completions",
|
"name": "clink-completions",
|
||||||
|
Loading…
Reference in New Issue
Block a user