Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jerkovicl/7e3be0a4a84495f5aa1d96e71c1ae065 to your computer and use it in GitHub Desktop.
Save jerkovicl/7e3be0a4a84495f5aa1d96e71c1ae065 to your computer and use it in GitHub Desktop.
Cmder Powerline Install script
@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