Modern macOS development environment setup for Laravel, Vue.js, and full-stack web development.
-
Clone the repository:
git clone https://github.com/ismaildasci/my-dotfiles.git ~/.dotfiles cd ~/.dotfiles
-
Run the setup script:
./fresh.sh
This will automatically install and configure everything you need for development.
- 🍺 Homebrew - Package manager for macOS
- 🐚 Oh My Zsh - Framework for managing zsh configuration
- ⚡ Custom aliases - Shortcuts for common development tasks
- 🎨 Minimal theme - Clean and informative zsh prompt
- 🔧 Development tools - Essential CLI tools and applications
- PHP with Laravel Herd integration
- Node.js with npm/yarn support
- Git with enhanced aliases
- Code Editors: Visual Studio Code, PhpStorm support
- Browsers: Google Chrome, Firefox
- Design: Figma
- Database: TablePlus, MySQL via Herd
- Development: Docker, Tinkerwell, Transmit
- Productivity: 1Password, Slack, Telegram
- Media: Loom, Screen Studio
- Utilities: The Unarchiver, ImageOptim, HTTPie
dotfiles/
├── fresh.sh # Main setup script
├── aliases.zsh # Custom command aliases
├── path.zsh # PATH configuration
├── minimal.zsh-theme # Custom zsh theme
├── Brewfile # Homebrew packages and apps
├── ssh.sh # SSH key generation script
└── bin/
└── setup # Laravel project setup script
reloadshell- Reload zsh configurationcopyssh- Copy SSH public key to clipboardll- Enhanced directory listingshrug- Copy ¯_(ツ)_/¯ to clipboard
dotfiles- Jump to dotfiles directoryprojects- Jump to ~/Codesites- Jump to ~/Herd
a- Laravel Artisan commands (herd php artisan)fresh- Fresh migration with seedingtinker- Laravel Tinkerserve- Start Laravel development server
php/composer- Use Herd's PHP and Composercfresh- Clean composer install
gs- Git statuscommit- Add all and commit with messagepush/pull- Git push/pullwip- Quick work-in-progress commitamend- Amend last commitnuke- Hard reset and clean
The bin/setup script helps you quickly clone and set up Laravel projects:
# Usage (from ~/Herd directory):
setup https://github.com/user/repo.git project-nameThis will:
- Clone the repository
- Set up environment configuration
- Install dependencies (Composer & npm)
- Run migrations and seeders
- Open in VS Code
Generate SSH keys for GitHub:
./ssh.sh your-email@example.comThe minimal zsh theme provides:
- Git status - Shows current branch and clean/dirty state
- Error indication - Red prompt on command failure
- Background jobs - Visual indicator for running jobs
- Path shortening - Smart directory path display
- SSH context - Shows hostname when connected via SSH
After running the setup, you may want to:
-
Configure Git:
git config --global user.name "Your Name" git config --global user.email "your.email@example.com"
-
Add SSH key to GitHub:
copyssh # Copies public key to clipboard # Then paste into GitHub SSH settings
-
Set up development directories:
~/Code- General development projects~/Herd- Laravel projects managed by Herd
Edit aliases.zsh and run reloadshell to apply changes.
Add packages to Brewfile and run:
brew bundle --file ./BrewfileEdit minimal.zsh-theme to customize the prompt appearance.
The setup script also applies custom macOS preferences via a .macos file (not shown in this repo). This typically includes:
- Dock preferences
- Finder settings
- System preferences
- Security settings
Feel free to fork this repository and customize it for your own needs. If you have improvements or fixes, pull requests are welcome!
This project is open source and available under the MIT License.
Happy coding! 🚀