mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-13 03:09:10 +08:00
Alias fixed
This commit is contained in:
parent
e2baf07cce
commit
10f7afdef2
@ -1,2 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
echo %* >> ../usr/aliases
|
echo %* >> ../config/aliases
|
||||||
|
7
vendor/init.bat
vendored
7
vendor/init.bat
vendored
@ -13,8 +13,13 @@ if "%PROCESSOR_ARCHITECTURE%"=="x86" (
|
|||||||
:: Run clink
|
:: Run clink
|
||||||
vendor\clink\clink_x%architecture%.exe inject --quiet --profile config
|
vendor\clink\clink_x%architecture%.exe inject --quiet --profile config
|
||||||
|
|
||||||
|
set rootDir=%CD%
|
||||||
|
|
||||||
:: Enhance Path
|
:: Enhance Path
|
||||||
PATH=%PATH%;%CD%\bin
|
PATH=%PATH%;%rootDir%\bin
|
||||||
|
|
||||||
|
:: Add aliases
|
||||||
|
doskey /macrofile=%rootDir%\config\aliases
|
||||||
|
|
||||||
:: cd into users homedir
|
:: cd into users homedir
|
||||||
cd /d "%userprofile%"
|
cd /d "%userprofile%"
|
Loading…
Reference in New Issue
Block a user