Initial commit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
caf26f0e5f
5 files changed
+259
No files matched your search
Executable
+20
@@ -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."
|
||||
Reference in new issue
Block a user