Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created June 13, 2012 07:54
Show Gist options
  • Save raa0121/2922640 to your computer and use it in GitHub Desktop.
Save raa0121/2922640 to your computer and use it in GitHub Desktop.
.bashrcでのCygwinとMinGWの見分け方 ref: http://qiita.com/items/9c39b405444c92aae631
_bash=`which vim`
if test _bash = "/usr/bin/bash" ; then
LANG=ja_JP.UTF-8
elif test _bash = "/usr/bin/bash.exe" ; then
LANG=ja_JP.sjis
JLESSCHARSET="japanese-sjis"
OUTPUT_CHARSET=sjis
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment