weehong / Developer Environment Installer
0 gustos
0 bifurcaciones
2 archivos
Última actividad 3 weeks ago
Interactive developer environment bootstrapper for Zsh/Bash with repeatable workstation setup helpers.
| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # ======================================================= |
| 4 | # 1. BOOTSTRAPPER: PREFER ZSH, FALLBACK TO BASH |
| 5 | # ======================================================= |
| 6 | if [ -z "${_PREFER_ZSH_BOOTSTRAPPED:-}" ]; then |
| 7 | export _PREFER_ZSH_BOOTSTRAPPED=1 |
| 8 | |
| 9 | # Only attempt to re-execute if $0 is an actual file on disk. |
| 10 | # This prevents the 'can't open input file' error when running |
Siguiente
Anterior