2013-07-09 15:43:50 +08:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
:: Set prompt style
|
|
|
|
prompt $E[1;32;40m$P $_$E[1;30;40m$$ $E[0m
|
|
|
|
|
|
|
|
:: Pick right version of clink
|
|
|
|
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
|
|
|
|
set architecture=86
|
|
|
|
) else (
|
|
|
|
set architecture=64
|
|
|
|
)
|
|
|
|
|
|
|
|
:: Run clink
|
2013-07-16 04:45:23 +08:00
|
|
|
vendor\clink\clink_x%architecture%.exe inject --quiet --profile config
|
2013-07-09 15:43:50 +08:00
|
|
|
|
2013-07-16 05:45:25 +08:00
|
|
|
set rootDir=%CD%
|
|
|
|
|
2013-07-09 15:43:50 +08:00
|
|
|
:: Enhance Path
|
2013-07-16 05:45:25 +08:00
|
|
|
PATH=%PATH%;%rootDir%\bin
|
|
|
|
|
|
|
|
:: Add aliases
|
|
|
|
doskey /macrofile=%rootDir%\config\aliases
|
2013-07-09 15:43:50 +08:00
|
|
|
|
|
|
|
:: cd into users homedir
|
|
|
|
cd /d "%userprofile%"
|