Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
10sr
/
dotfiles-mirror
espelhamento de
https://github.com/10sr/dotfiles.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
update my_ps1_scale for windows
pull/1/head
10sr
11 anos atrás
pai
f5d9e40f3a
commit
b0b6c06dbb
1 arquivos alterados
com
2 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-1
bashrc
+ 2
- 1
bashrc
Ver arquivo
@@ -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 && ! is
window
s
if null type stty && ! is
msy
s
then
stty size | tr -d $'\n' | tr " " x
printf " "
fi
return $last
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar