Last active
August 29, 2015 14:17
-
-
Save wakita/a22b79d17b3b66de86e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
c: | |
REM Add Cygwin to the PATH. The Cygwin path is not included in the system wide PATH configuration because MinGW dislikes Cygwin. | |
set PATH=c:\cygwin64\bin;%PATH% | |
REM Setting Visual Studio environment. | |
REM call "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 | |
set CYGWIN=nodosfilewarning | |
set SHELL=/bin/zsh | |
start mintty --icon /Cygwin-Terminal.ico --size 80,50 --title "Cygwin (dev)" - | |
REM How to pin this batch file on taskbar | |
REM 1. Change the extension of this batch file to .exe. | |
REM 2. Right click on the .exe and choose pin to taskbar. | |
REM 3. Change the extension of the file back to .bat. | |
REM 4. Shift+right click the taskbar icon and choose property. | |
REM 5. Change the target to .bat from .exe. | |
REM 6. (Optional) Change the icon. | |
REM | |
REM If you want open multiple windows, Shift+click on the taskbar icon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cygwin Terminal から起動されるスクリプトのなかで Visual Studio や mintty を設定しています。
Cygwin-zsh のコマンドライン環境で Visual C++ の開発をするための設定です。詳しくはCygwin Terminal の初期設定をカスタマイズの記事をご覧下さい。