Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

description:sync gists with given description

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists zum gegebenen Thema

all:systemctl search all fields

Registrieren

Anmelden

Alle Neu Registrieren Anmelden

All gists matching topic zsh

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet

weehong / Developer Environment Installer

0 Favoriten
0 Forks
2 Dateien
Zuletzt aktiv 3 weeks ago
Interactive developer environment bootstrapper for Zsh/Bash with repeatable workstation setup helpers.
developer-environment bootstrap installer zsh bash tooling setup automation
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

weehong / Zsh Setup

0 Favoriten
0 Forks
12 Dateien
Zuletzt aktiv 2 weeks ago
Cross-platform Zsh setup scripts and managed dotfiles with Oh My Zsh framework, Starship prompt, aliases, functions, and path configuration.
zsh oh-my-zsh starship dotfiles shell bash macos ubuntu wsl
1 # =============================================================================
2 # 1. HELPER FUNCTIONS & PATH
3 # =============================================================================
4 source_if_readable() {
5 local file="$1"
6 if [[ -f "$file" && -r "$file" ]]; then
7 source "$file"
8 fi
9 }
Neuer Älter

Powered by Opengist ⋅ Load: 33ms⋅

Deutsch
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文