This repository contains my personal configuration files (dotfiles) and a setup script to install and configure my development environment for various tools and applications. These include shell enhancements, package managers, and other utilities to streamline my macOS development workflow:
- Oh My Zsh with agnoster theme and custom prompt
- zsh plugins (zsh-syntax-highlighting, zsh-autosuggestions)
- Homebrew
- nvm with autoload configuration
- Node.js LTS version
- awscli and saml2aws
- Custom commands and aliases
To set up your environment using these dotfiles, follow the instructions below:
-
Clone the repository to your home directory:
git clone https://github.com/gmatheus/dotfiles.git ~/.dotfiles
-
Navigate to the cloned repository:
cd ~/.dotfiles
-
Run the setup script to create symlinks and configure your environment:
sh ./setup.sh
⚠️ Note: Running this script will overwrite your existing.zshrc
file with the configuration from.dotfiles/.zshrc
. A backup of your original.zshrc
file will be saved as~/.zshrc.bkp-*
for restoration if needed.
If you want to remove the applications installed and revert your environment state, you can run the uninstall script. This is useful if you want to test the setup script from scratch.
-
Run the uninstall script to restore your original environment state:
sh ./uninstall.sh
⚠️ Note: The script does not automatically restore your original.zshrc
file. To restore it, use the backup located at~/.zshrc.bkp-*
.
Once done, you can run the setup script again to set up your environment.
Feel free to customize the dotfiles to suit your preferences. You can edit the files directly in the repository and re-run the setup script to apply the changes.
If you have any improvements or suggestions, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.