ソースを参照

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
}


読み込み中…
キャンセル
保存