Skip to content

AndresMorelos/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masteorion DotFiles Setup

Welcome to the Masteorion DotFiles Setup! This repository contains a robust install.sh script to automate the installation and configuration of your development environment on a new Mac.

Overview

The install.sh script:

  • Installs Homebrew and essential packages
  • Installs and configures Oh My Zsh, plugins, and Starship prompt
  • Installs fonts and productivity/security/macOS tools
  • Sets up symbolic links for your dotfiles
  • Supports flexible package group selection
  • Handles 1Password SSH agent and other developer essentials

Prerequisites

  • macOS (tested on Sonoma and later)
  • Internet connection
  • 1Password CLI (optional, for SSH agent integration)
  • Xcode Command Line Tools (the script will prompt to install if missing)

Installation

Clone this repository to your home directory:

git clone https://github.com/AndresMorelos/.dotfiles ~/.dotfiles
cd ~/.dotfiles

Make the script executable:

chmod +x install.sh

Run the installer:

./install.sh

Usage

You can customize which Homebrew cask package groups are installed using command-line options:

./install.sh [OPTIONS]

Options

  • --help, -h Show help message and exit
  • --packages GROUPS Comma-separated list of cask groups to install (e.g. dev,macos,streaming)
  • --skip-packages GROUPS Comma-separated list of cask groups to skip (e.g. dev,macos,streaming)

Cask Groups

  • dev Developer tools (cursor, iterm2, cleanshot, etc)
  • homeservices Home services (vnc-viewer)
  • productivity Productivity tools (numi, raycast, rectangle)
  • security Security tools (knockknock, oversight)
  • macos macOS utilities (monitorcontrol, istat-menus)
  • streaming Streaming apps (spotify)

Examples

Install all cask groups (default):

./install.sh

Only install dev and macos cask groups:

./install.sh --packages dev,macos

Install all except dev and streaming cask groups:

./install.sh --skip-packages dev,streaming

1Password SSH Agent Integration

If you use 1Password for SSH keys:

  • Ensure the 1Password CLI (op) is installed
  • Enable the SSH agent in 1Password settings
  • The script will check for the agent and use it for GitHub and other SSH operations

Troubleshooting

  • Homebrew not found: The script will install Homebrew if missing.
  • Xcode Command Line Tools: The script will prompt to install if missing.
  • Cask already installed error: The script checks both Homebrew and /Applications to avoid duplicate installs.
  • 1Password SSH agent issues: Ensure the agent is enabled and op CLI is installed. Run op ssh status to verify.
  • Permission denied: Make sure you run the script with the correct permissions and that your user has sudo rights if needed.

Customization

  • Edit the arrays in install.sh to add or remove Homebrew formulae or cask packages.
  • Add your own dotfiles to the appropriate folders in .dotfiles and update the config function as needed.

Contributing

Feel free to fork and submit pull requests for improvements, bug fixes, or new features!

License

MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages