-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/cmder4win' into cmder4win
* origin/cmder4win: cleanup cleanup cleanup not set origin/fix_launcher_overwrite cleanup respect PATHEXT instead of hardcoding our own value add missing qualified dir cleanup prevent warnings if the dir does not exist enable `/d` flag in `excd` by default fix conflict add notes on what shim actually is ⬆️ Update dependencies (git-for-windows v2.47.0.windows.1, clink v1.7.3, clink-completions v0.6.0) make library comments consistent and clean up code Use single quotes inside double quotes modify the header to remove outdated mention add vendor/bin/create-cmdercfg.cmd
- Loading branch information
Showing
11 changed files
with
154 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
|
||
powershell -executionpolicy bypass -f "%cmder_root%\vendor\bin\create-cmdercfg.ps1" -shell cmd -outfile "%CMDER_CONFIG_DIR%\user_init.cmd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
@if "%~1"=="/?" (@cd %*) | ||
@set excd=%* | ||
@set excd=%excd:"=% | ||
@if "%excd:~0,1%"=="~" (@set excd=%userprofile%\%excd:~1%) | ||
@if not "%~1"=="/d" (@set excd_param="/d") else (@set excd_param=) | ||
@cd %excd_param% "%excd%" | ||
@echo off | ||
set excd=%* | ||
set excd=%excd:"=% | ||
set excd_param=/d | ||
if /i "%excd:~0,2%"=="/d" set "excd=%excd:~2%" | ||
if "%excd:~0,1%"=="~" (set excd=%userprofile%\%excd:~1%) | ||
if "%excd:~0,1%"=="/" (set excd_param=) | ||
cd %excd_param% %excd% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.