This repository contains my personal dotfiles and a script to manage them. The install.sh script symlinks configuration files, manages Homebrew packages, and synchronizes Visual Studio Code settings and extensions.
To use these dotfiles, clone the repository and run the install.sh script:
git clone <repository-url> ~/dotfiles
cd ~/dotfiles
./install.shThe install.sh script performs the following actions:
The script manages .gitconfig and .tmux.conf. It will:
- Symlink the files from the repository to your home directory.
- If a file already exists, it will show you a diff and ask you to overwrite the local file, update the repository file, or skip.
The script manages Homebrew packages using a Brewfile. It will:
- Check if Homebrew is installed and offer to install it if it's not.
- Install all packages listed in the
Brewfile. - Compare your installed packages to the
Brewfileand offer to update theBrewfilein the repository.
The script synchronizes your Visual Studio Code settings, keybindings, and snippets by creating symlinks to the files in the repository.
The script manages your Visual Studio Code extensions. It will:
- Compare your installed extensions with the
extensions.txtfile in the repository. - If there are differences, it will show you the changes and ask you to overwrite the backup, merge the changes, or skip.
- Ask if you want to install the extensions listed in the
extensions.txtfile.