vi ~/.inputrc
아래의 내용을 추가한다.
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
set completion-ignore-case on
만약 디렉토리에 한글명이 안보인다면
vi ~/.bashrc
아래의 내용을 추가한다.
alias ls='ls -F --color=auto --show-control-chars'
alias ll='ls -al -F --color=auto --show-control-chars'
위와 같이 했는데도 한글이 안써지거나 안보이는 경우가 있다.
이런경우엔 cygwin터미널로 가면 폴더가 제대로 보이나
tera term으로 보면 안보이는 경우다.
이럴때 tera term의 Setup->General Setup->Language의 값을 UTF-8로 설정하면 제대로 보인다.
위와 같이 하면 tera term에서 cygwin에 접속해 폴더보기, 커맨드상태에서 한글쓰기가 가능한데 vim에서 한글보기 및 한글쓰기가 잘 안되는 경우가 있다. 이럴땐 다음 글을 참고한다.
http://www.thethinkings.com/blog/2010/05/cygwin-tera-term-vim.html