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 with stty
pull/1/head
10sr
12 anos atrás
pai
60ba123bef
commit
856eac8d97
2 arquivos alterados
com
12 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
+4
-1
bashrc
+8
-0
xinitrc
+ 4
- 1
bashrc
Ver arquivo
@@ -810,7 +810,10 @@ test -n "$SSH_CONNECTION" && __my_ps1_ssh_str="${__my_c5}SSH${__my_cdef} "
__my_ps1_scale(){
local last=$?
printf "${LINES}x${COLUMNS}"
if null type stty && ! iswindows
then
stty size | tr -d $'\n' | tr " " x
fi
return $last
}
+ 8
- 0
xinitrc
Ver arquivo
@@ -1,7 +1,15 @@
#!/bin/sh
test -n "$DISPLAY" || return
test -z "$ROXTERM_PID" || return
test -z "$SSH_CONNECTION" || return
case "$TERM" in
xterm*) return;;
esac
unset TMUX
setxkbmap -layout "jp"
test "`hostname`" == "arch-aspireone" &&
setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar