This repository contains scripts and configuration files to set up a development environment quickly and consistently.
cursor-setup.sh
: Script to set up Cursor editor configurationmac-setup.sh
: Script to set macOS preferencesgit/.gitconfig
: Git configurationgemrc
: Ruby gems configuration
Follow these steps to install and set up the environment:
-
Clone this repository:
git clone https://github.com/yatish27/dotfiles.git cd dotfiles
-
Configure macOS settings:
./mac-setup.sh
-
Set up Cursor editor:
./cursor-setup.sh
The .gitconfig
file contains Git aliases and configuration settings. To use it:
cp -f $(pwd)/git/.gitconfig ~/.gitconfig
Remember to update the gitconfig with your name and email before using.
The gemrc
file configures Ruby gems behavior. To use it:
cp -f $(pwd)/gemrc ~/.gemrc
The rubocop.yml
file contains the configuration for RuboCop, a Ruby static code analyzer. To use it:
cp -f $(pwd)/rubocop.yml ~/.rubocop.yml
To update your configurations:
-
Pull the latest changes:
git pull origin main
-
Re-run any setup scripts that have been updated:
./mac-setup.sh # if macOS settings changed ./cursor-setup.sh # if cursor settings changed
-
Restart your terminal to apply any shell-related changes.
If you have any suggestions or improvements:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request