Skip to content

Instantly share code, notes, and snippets.

@wakita

wakita/cygwin-dev.bat

Last active Aug 29, 2015
Embed
What would you like to do?
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.
@wakita

This comment has been minimized.

Copy link
Owner Author

@wakita wakita commented Mar 15, 2015

Cygwin Terminal から起動されるスクリプトのなかで Visual Studio や mintty を設定しています。

Cygwin-zsh のコマンドライン環境で Visual C++ の開発をするための設定です。詳しくはCygwin Terminal の初期設定をカスタマイズの記事をご覧下さい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment