全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

description:sync gists with given description

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

all:systemctl search all fields

註冊

登錄

全部 新建 註冊 登錄

All gists matching topic zsh

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新

weehong / Developer Environment Installer

0 喜歡
0 分支
2 檔案
最後活躍 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 喜歡
0 分支
12 檔案
最後活躍 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 }
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 27ms⋅

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