This repository contains my complete development environment configuration, including Neovim setup, Homebrew packages, and other dotfiles.
Clone this repository and run the install script:
git clone <your-repo-url> ~/Developer/brew-ghostty
cd ~/Developer/brew-ghostty
chmod +x install.sh
./install.shThe install script provides several options:
- Install all - Installs Homebrew packages and Neovim configuration
- Homebrew packages only - Installs packages defined in
Brewfile - Neovim config only - Installs the Neovim configuration
- Development symlinks - Creates symlinks for active config development
.
├── Brewfile # Homebrew packages
├── config/ # Application configurations
│ └── ghostty # Ghostty terminal configuration
├── install.sh # Installation script
├── nvim/ # Neovim configuration
│ ├── init.lua
│ ├── lua/
│ │ ├── config/
│ │ └── plugins/
│ └── ...
└── README.md # This file
The Ghostty terminal configuration is located in config/ghostty/. To apply it:
- Open Ghostty
- Press
⌘,(Command + comma) to open the configuration file - Copy the contents of
config/ghostty/ghostty.configand paste it into the opened configuration file
To update your local configuration after making changes to this repo:
git pull
./install.shChoose option 3 to update just Neovim config, or option 1 to update everything.
If you're actively working on your configs, use option 4 to create symlinks. This way, changes in the repo are immediately reflected in your system:
./install.sh
# Choose option 4When you're done with development mode, use option 5 to remove the symlinks:
./install.sh
# Choose option 5This will remove the symlinks and optionally restore your configs from a backup.
The install script automatically creates timestamped backups of your existing configurations before overwriting them. Backups are stored as:
~/.config/nvim.bak.YYYYMMDD_HHMMSS
To add more dotfiles:
- Create a new directory (e.g.,
config/ghostty/) - Add your configuration files
- Update
install.shto handle the new configs - Commit and push