Description
macOS-specific utilities, shortcuts, and integrations for common system operations, Finder interactions, and system management.
GitHub
Essential Commands
ofd [directory]
- Open directory in Finder (current if no arg)pfd
- Print path of frontmost Finder windowcdf
- Change to directory selected in Findershowfiles
- Show hidden files in Finderhidefiles
- Hide hidden files in Finder
Advanced Commands
rmdsstore
- Recursively remove .DS_Store filesbtrestart
- Restart Bluetooth daemonquick-look [file]
- Open file in Quick Look previewman-preview [command]
- Open man page in Preview apptrash [files]
- Move files to Trash
Usage Examples
# Finder integration
ofd # Open current directory in Finder
cdf # Go to Finder's current directory
pfd # Print Finder's current path
# File management
showfiles # Show hidden files (.env, etc.)
rmdsstore # Clean up .DS_Store files
trash old-file.txt # Move to trash instead of rm
# System utilities
quick-look README.pdf
man-preview git
btrestart # Fix Bluetooth issues