Skip to content

Instantly share code, notes, and snippets.

@wakita
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wakita/a22b79d17b3b66de86e2 to your computer and use it in GitHub Desktop.
Save wakita/a22b79d17b3b66de86e2 to your computer and use it in GitHub Desktop.
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
Copy link
Author

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