Last active
January 12, 2016 13:13
-
-
Save poad/e1308650e72accff0264 to your computer and use it in GitHub Desktop.
【メモ】Git for Windows + MinGWな環境の.bashrc ref: http://qiita.com/poad1010/items/d79a244e661b5d0e12c3
This file contains 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
# less コマンド等のエラー回避 | |
export TERM=msys | |
# lsで日本語を表示する | |
alias ls='ls --color=auto --show-control-chars' | |
alias ll='ls -l' | |
alias l='ls -CF' | |
# gettext用 | |
export OUTPUT_CHARSET=UTF-8 | |
# viコマンド | |
alias vi='vim.exe' | |
# git | |
alias git='git.exe' | |
source /c/Program\ Files\ \(x86\)/Git/etc/git-prompt.sh | |
source /c/Program\ Files\ \(x86\)/Git/etc/git-completion.bash | |
# ロケール他 | |
export TZ=JST-9 | |
export LANG=ja_JP.UTF-8 | |
export LC_ALL='C' | |
export TPUT_COLORS=256 | |
export HOSTNAME=msys-bash | |
PS1='[\[\033[0m\]\u\[\033[00;32m\]@$HOSTNAME\[\033[0m\] \t \w\[\033[0m\]$(__git_ps1)\[\033[00m\]] \n\$ ' | |
export PATH=~/.packer:$PATH:/c/Program\ Files\ \(x86\)/Git/bin |
This file contains 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
# less コマンド等のエラー回避 | |
export TERM=msys | |
# lsで日本語を表示する | |
alias ls='ls --color=auto --show-control-chars' | |
alias ll='ls -l' | |
alias l='ls -CF' | |
# gettext用 | |
export OUTPUT_CHARSET=UTF-8 | |
# viコマンド | |
alias vi='vim.exe' | |
# git | |
alias git='git.exe' | |
source /c/Program\ Files\ \(x86\)/Git/etc/git-prompt.sh | |
source /c/Program\ Files\ \(x86\)/Git/etc/git-completion.bash | |
# ロケール他 | |
export TZ=JST-9 | |
export LANG=ja_JP.UTF-8 | |
export LC_ALL='C' | |
export TPUT_COLORS=256 | |
export HOSTNAME=msys-bash | |
PS1='[\[\033[0m\]\u\[\033[00;32m\]@$HOSTNAME\[\033[0m\] \t \w\[\033[0m\]$(__git_ps1)\[\033[00m\]] \n\$ ' | |
export PATH=~/.packer:$PATH:/c/Program\ Files\ \(x86\)/Git/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment