ed: readme, funcs git: dialogo iniciar repo manual

This commit is contained in:
jp.av.dev 2022-04-23 16:36:59 -04:00
parent ab9baa3ae8
commit cd790fe4f1
2 changed files with 20 additions and 18 deletions

View File

@ -5,7 +5,7 @@ Selección de scripts de autoria propia
- [Exploracion de Logs](#buscalog)
- [Funciones Git](#funciones-git)
- [Funciones Python](#funciones-python)
- [Consola de Python a color](#Interprete-a-color)
- [Consola de Python a color](#interprete-a-color)
- [Otros](#otros)
- [Lol laucher y debug](#rito-pls)
@ -139,26 +139,26 @@ ej. nombres de directorios: `mi_dir/`, `mi dir con espacios/`.
ej. Directorios
```txt
.
├── SubDir1
│ ├── deepDir1
│ └── deepDir2
└── Sub Dir 2
├── deepDir1
└── deepDir2
📂️ .
├── 📂️ SubDir1
│ ├── 📂️ deepDir1
│ └── 📂️ deepDir2
└── 📂️ Sub Dir 2
├── 📂️ deepDir1
└── 📂️ deepDir2
```
`./gitfun.sh crea_readmes`
```txt
.
├── SubDir1
│ ├── deepDir1
│ ├── deepDir2
│ └── README.md
└── Sub Dir 2
├── deepDir1
├── deepDir2
└── README.md
📂️ .
├── 📂️ SubDir1
│ ├── 📂️ deepDir1
│ ├── 📂️ deepDir2
│ └── 📃️ README.md
└── 📂️ Sub Dir 2
├── 📂️ deepDir1
├── 📂️ deepDir2
└── 📃️ README.md
```
Script: [gitfun.sh](./gitfun.sh)

View File

@ -58,7 +58,9 @@ manualGit(){
printf '\nUsuario: %b%s %b' "${GRN}" "${nombre}" "${RST}"
printf 'Correo: %b%s%b ' "${GRN}" "${email}" "${RST}"
printf 'Llave: %b%s%b\n' "${GRN}" "${sshkey}" "${RST}"
read -p'ok? s/n/q: ' confirma
printf '%bIniciar repo con estos datos? %b(s/n/q)%b:%b' \
"${GRn}" "${IND}" "${GRn}" "${RST}"
read -p' ' confirma
case "${confirma}" in
s|S) iniciarepo "${nombre}" "${email}" "${sshkey}" && exit 0 ;;
q|Q) exit 0 ;;