Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 16ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
t

tooling

Recently created Least recently created Recently updated Least recently updated

weehong / [Setup] Developer Tool Installer Manager

Last active 3 weeks ago setup developer-environment bootstrap installer zsh bash tooling automation

Interactive developer environment bootstrapper using official upstream downloads and signed OS-vendor packages.

0 0 2
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