Initial commit

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
guofangandClaude Sonnet 5.5 committed 2026-11-04 22:43:39 +08:00
commit ca735e96ed
5 files changed
+258

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -Eeuo pipefail
# Runtime environment
if [[ "$(uname -s)" != "Darwin" ]]; then
echo "Error: this script supports macOS only." >&2
exit 1
fi
# Show all file extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Show the path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true
# Restart Finder so the settings above take effect
killall Finder >/dev/null 2>&1 || true
echo "macOS configuration completed."