Created
February 19, 2019 01:03
-
-
Save fabricioanciaes/9cafd0abab1c287af59d583e57d6efcb to your computer and use it in GitHub Desktop.
Cmder Powerline Install script
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
@echo off | |
echo ----------------------------------------------------- | |
echo Powerline streamlined instalation script by @lofi1048 | |
echo ----------------------------------------------------- | |
IF EXIST %CMDER_ROOT%\cmder-powerline-prompt GOTO SYM | |
:CLONE | |
:: Clones cmder-powerline-prompt.git into the cmder root folder :: | |
git clone https://github.com/AmrEldib/cmder-powerline-prompt.git | |
:SYM | |
:: Create Symbolic Links from repo :: | |
mklink /H %CMDER_ROOT%\config\powerline_core.lua %CMDER_ROOT%\cmder-powerline-prompt\powerline_core.lua | |
mklink /H %CMDER_ROOT%\config\powerline_prompt.lua %CMDER_ROOT%\cmder-powerline-prompt\powerline_prompt.lua | |
mklink /H %CMDER_ROOT%\config\powerline_git.lua %CMDER_ROOT%\cmder-powerline-prompt\powerline_git.lua | |
:CPY | |
:: Copy config template and rename it properly :: | |
xcopy %CMDER_ROOT%\cmder-powerline-prompt\_powerline_config.lua.sample %CMDER_ROOT%\config\_powerline_config.lua | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment