Skip to content

Commit

Permalink
add excd (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSDavidSoft committed Nov 2, 2022
1 parent d3026ae commit dcc06a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vendor/bin/excd.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@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%"

0 comments on commit dcc06a9

Please sign in to comment.