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

View File

@ -58,7 +58,9 @@ manualGit(){
printf '\nUsuario: %b%s %b' "${GRN}" "${nombre}" "${RST}" printf '\nUsuario: %b%s %b' "${GRN}" "${nombre}" "${RST}"
printf 'Correo: %b%s%b ' "${GRN}" "${email}" "${RST}" printf 'Correo: %b%s%b ' "${GRN}" "${email}" "${RST}"
printf 'Llave: %b%s%b\n' "${GRN}" "${sshkey}" "${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 case "${confirma}" in
s|S) iniciarepo "${nombre}" "${email}" "${sshkey}" && exit 0 ;; s|S) iniciarepo "${nombre}" "${email}" "${sshkey}" && exit 0 ;;
q|Q) exit 0 ;; q|Q) exit 0 ;;