5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Git bash(windows)でPS1変えたいとか日本語が正しく表示されないとか

Last updated at Posted at 2014-04-03

追記:
なんか全然素晴らしいイケてる記事が既にあったのでこっちみたほうがいい
http://qiita.com/kumazo@github/items/2169e1ee7be278f82b94

日本語が化ける問題は
~/.bash_profileか.bashrcに以下を追加

alias ls='ls  --color=auto --show-control-chars'
alias ll='ls -l --color=auto'

gitbash起動

  1. gitbashの左上のアイコンでプロパティを選択
  2. 違うフォント→同じフォント戻す

_人人人人人人人人人人人人人_
> なぜか正しく表示される <
 ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄

理由はわからない。マジでわからない

##PS1
PS1に関しては.bash_profileに書いても何故か上手く動かないので直接書き換える

C:\Program Files (x86)\Git\etc\profile
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?