Procházet zdrojové kódy

update my_ps1_scale for windows

pull/1/head
10sr před 10 roky
rodič
revize
b0b6c06dbb
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      bashrc

+ 2
- 1
bashrc Zobrazit soubor

@@ -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
}


Načítá se…
Zrušit
Uložit