Last active
July 26, 2016 10:40
-
-
Save zhiguangwang/c15f944f590cafd7232bca61d2b4642b to your computer and use it in GitHub Desktop.
batch file to initialize windows command line environment (equivalent with .bashrc)
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 | |
set HOME=%HOMEDRIVE%%HOMEPATH% | |
@rem Utilites | |
set PATH=%PATH%;C:\Program Files\WinRAR | |
set PATH=%PATH%;C:\Program Files (x86)\Microsoft VS Code\bin | |
set PATH=%PATH%;%HOME%\apps\cmake\3.6.0-win64-x64\bin | |
set PATH=%PATH%;%HOME%\apps\bin | |
@rem Python | |
set PATH=%PATH%;%HOME%\apps\python | |
set PATH=%PATH%;%HOME%\apps\python\Scripts | |
@rem Default cmd code page is 65001 | |
set PYTHONIOENCODING=UTF8 | |
@rem aliases for http proxy (shadowsocks) | |
doskey http-proxy-on=set http_proxy=http://127.0.0.1:8123 ^& set https_proxy=http://127.0.0.1:8123 | |
doskey http-proxy-off=set "http_proxy=" ^& set "https_proxy=" | |
doskey http-proxy-show=set ^| findstr http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment