소스 검색

update my_ps1_scale for windows

pull/1/head
10sr 10 년 전
부모
커밋
b0b6c06dbb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      bashrc

+ 2
- 1
bashrc 파일 보기

@@ -810,9 +810,10 @@ test -n "$SSH_CONNECTION" && __my_ps1_ssh_str="${__my_c5}SSH${__my_cdef} "

__my_ps1_scale(){
local last=$?
if null type stty && ! iswindows
if null type stty && ! ismsys
then
stty size | tr -d $'\n' | tr " " x
printf " "
fi
return $last
}


불러오는 중...
취소
저장