Skip to content

Commit

Permalink
Merge pull request #1157 from winks/winks-patch-1
Browse files Browse the repository at this point in the history
Fix typo in init.bat
  • Loading branch information
Stanzilla authored Nov 10, 2016
2 parents a0e0ada + ba99f5b commit d7f0407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ if not defined aliases (
:: Make sure we have a self-extracting user-aliases.cmd file
setlocal enabledelayedexpansion
if not exist "%user-aliases%" (
echo Creating intial user-aliases store in "%user-aliases%"...
echo Creating initial user-aliases store in "%user-aliases%"...
copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user-aliases%"
) else (
type "%user-aliases%" | findstr /i ";= Add aliases below here" >nul
if "!errorlevel!" == "1" (
echo Creating intial user-aliases store in "%user-aliases%"...
echo Creating initial user-aliases store in "%user-aliases%"...
copy "%CMDER_ROOT%\%user-aliases%" "%user-aliases%.old_format"
copy "%CMDER_ROOT%\vendor\user-aliases.cmd.example" "%user-aliases%"
)
Expand Down

0 comments on commit d7f0407

Please sign in to comment.