全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

All gists matching topic iterm2

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

timmy / Mac 自動設置 iTerm2 路徑

0 喜歡
0 分支
1 檔案
最後活躍 7 months ago
自動檢測 macOS 並設置 iTerm2 偏好設定資料夾為自訂路徑。
automation customization homebrew iterm2 macos shell-script
1 #!/bin/sh
2
3 # 取得作業系統類型(例如 Darwin 表示 macOS)
4 system_type=$(uname -s)
5
6 # 如果是 macOS 系統,才執行以下區塊
7 if [ "$system_type" = "Darwin" ]; then
8
9 # 這裡可以考慮加入使用 Homebrew 安裝 iTerm2 的指令(例如 brew install --cask iterm2)
10 # 不過目前尚未實作
上一頁 下一頁

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

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