This repository documents and configures my macOS development environment. It includes configurations for various tools and settings to enhance productivity and streamline the development workflow.
Here's a breakdown of the tools and configurations included in this repository:
- Homebrew (brew): Package manager for macOS. The
Brewfilelists all the applications and tools installed via Homebrew. - Zsh: The default shell.
zsh/zshrcconfigures the Zsh environment, including aliases, functions, and environment variables. - Tmux: Terminal multiplexer.
tmux/tmux.confconfigures the Tmux environment, including keybindings and plugin settings. - Neovim (nvim): Text editor.
nvim/init.vimandnvim/vimrcconfigure the Neovim environment, including plugins, color schemes, and keybindings. - VS Code (vscode): Integrated Development Environment.
vscode/vscode.settings.jsonconfigures VS Code settings, andvscode/Default.code-profileconfigures the default profile. - SketchyBar: Status bar customization tool.
sketchybar/sketchybarrcconfigures the SketchyBar, including widgets and their appearance. - Ghostty: Terminal emulator.
ghostty/configconfigures the Ghostty terminal emulator, andghostty/themes/contains various themes. - mcp: My custom command-line tool.
mcp/mcp.jsonconfigures the tool, andmcp/envsets up the environment. - Aider: AI pair programming tool.
aider/aider.yamlconfigures aider. - Fonts: Custom fonts for the terminal and editor. Includes the MesloLGS Nerd Font family.
- Aerospace: Window manager.
aerospace/aerospace.tomlconfigures the window manager.
To set up this development environment, follow these steps:
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Install Brewfile dependencies:
brew bundle --file=./Brewfile
- Configure Zsh:
- Copy
zsh/zshrcto~/.zshrc. - Set Zsh as your default shell:
chsh -s $(which zsh)
- Copy
- Configure Tmux:
- Copy
tmux/tmux.confto~/.tmux.conf.
- Copy
- Configure Neovim:
- Create the
~/.config/nvimdirectory if it doesn't exist:mkdir -p ~/.config/nvim - Copy
nvim/init.vimto~/.config/nvim/init.vim. - Copy
nvim/vimrcto~/.vimrc.
- Create the
- Configure VS Code:
- Copy
vscode/vscode.settings.jsonto the VS Code settings directory. - Copy
vscode/Default.code-profileto the VS Code profile directory.
- Copy
- Configure SketchyBar:
- Copy
sketchybar/sketchybarrcto~/.sketchybarrc.
- Copy
- Configure Ghostty:
- Copy
ghostty/configto the Ghostty config directory. - Copy themes from
ghostty/themes/to the Ghostty themes directory.
- Copy
- Configure mcp:
- Copy
mcp/mcp.jsonto the appropriate location. - Set up the environment variables as specified in
mcp/env.
- Copy
- Configure Aerospace:
- Copy
aerospace/aerospace.tomlto the appropriate location.
- Copy
- Install Fonts:
- Install the fonts located in the
fonts/directory.
- Install the fonts located in the
After completing the installation and setup, your macOS development environment should be configured and ready to use. You can customize the configurations further by modifying the respective configuration files.
I suggest you run these commands to copy the configuration files to the correct locations:
```bash
cp zsh/zshrc ~/.zshrc
cp tmux/tmux.conf ~/.tmux.conf
mkdir -p ~/.config/nvim
cp nvim/init.vim ~/.config/nvim/init.vim
cp nvim/vimrc ~/.vimrc
cp sketchybar/sketchybarrc ~/.sketchybarrc
cp ghostty/config ~/.config/ghostty/config.toml
cp aerospace/aerospace.toml ~/.aerospace.toml
Note: You'll need to manually install the fonts and configure VS Code settings and profile through the VS Code UI. Also, make sure to adjust the paths in mcp/mcp.json and mcp/env according to your system.