Created
January 19, 2014 21:02
-
-
Save takehiko/8510958 to your computer and use it in GitHub Desktop.
zsh/screen launcher on Cygwin (32/64 bit) + mintty
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
#!/bin/sh | |
# Cygwin (32/64 bit) + mintty + zsh/screen | |
# 1. Save this file as ~/bin/mintty.sh (if necessary, | |
# modify environmental variables). | |
# 2. Create a shortcut for mintty.exe. | |
# 3. Open the properties of the shortcut and | |
# append the full pathname of ~/bin/mintty.sh to | |
# the link. | |
# 4. Double-click the shortcut! | |
USER=takehiko | |
ZDOTDIR=$HOME/.zsh; export ZDOTDIR | |
CYGWIN=nodosfilewarning; export CYGWIN | |
LANG=ja_JP.UTF-8; export LANG | |
LC_ALL=$LANG; export LC_ALL | |
PATH=/usr/local/bin:/usr/bin:/usr/sbin:$PATH; export PATH | |
#exec zsh | |
exec screen -xR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment