Coder Social home page Coder Social logo

dotfiles's Introduction

Development Environment Setup

This repository contains scripts and configuration files to set up a development environment for macOS. It's tailored for software development, focusing on a clean, minimal, and efficient setup.

YouTube Video Walkthrough

Click on the image below to watch the video on YouTube:

Watch the video

Overview

The setup includes automated scripts for installing essential software, configuring Bash and Zsh shells, and setting up Sublime Text and Visual Studio Code editors. This guide will help you replicate my development environment on your machine if you desire to do so.

Important Note Before Installation

WARNING: The configurations and scripts in this repository are HIGHLY PERSONALIZED to my own preferences and workflows. If you decide to use them, please be aware that they will MODIFY your current system, potentially making some changes that are IRREVERSIBLE without a fresh installation of your operating system.

Furthermore, while I strive to backup files wherever possible, I cannot guarantee that all files are backed up. The backup mechanism is designed to backup SOME files ONCE. If the script is run more than once, the initial backups will be OVERWRITTEN, potentially resulting in loss of data. While I could implement timestamped backups to preserve multiple versions, this setup is optimized for my personal use, and a single backup suffices for me.

If you would like a development environment similar to mine, I highly encourage you to fork this repository and make your own personalized changes to these scripts instead of running them exactly as I have them written for myself.

A less serious (but potentially annoying) change it will make is setting the Desktop background to the image I use in my tutorials. This is the script I use to set up machines I will be recording on, after all.

I likely won't accept pull requests unless they align closely with my personal preferences and the way I use my development environment. But if there are some obvious errors in my scripts then corrections would be welcome!

If you choose to run these scripts, please do so with EXTREME CAUTION. It's recommended to review the scripts and understand the changes they will make to your system before proceeding.

By using these scripts, you acknowledge and accept the risk of potential data loss or system alteration. Proceed at your own risk.

Getting Started

Prerequisites

  • macOS (The scripts are tailored for macOS)

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/CoreyMSchafer/dotfiles.git ~/dotfiles
  2. Navigate to the dotfiles directory:
    cd ~/dotfiles
  3. Run the installation script:
    ./install.sh

This script will:

  • Create symlinks for dotfiles (.bashrc, .zshrc, etc.)
  • Run macOS-specific configurations
  • Install Homebrew packages and casks
  • Configure Sublime Text and Visual Studio Code

Configuration Files

  • .bashrc & .zshrc: Shell configuration files for Bash and Zsh.
  • .shared_prompt: Custom prompt setup used by both .bash_prompt & .zprompt
  • .bash_prompt & .zprompt: Custom prompt setup for Bash and Zsh.
  • `.bash_profile: Setting system-wide environment variables
  • .aliases: Aliases for common commands. Some are personalized to my machines specifically (e.g. the 'yt' alias opening my YouTube Scripts')
  • .private: This is a file you'll create locally to hold private information and shouldn't be uploaded to version control
  • settings/: Directory containing editor settings and themes for Sublime Text and Visual Studio Code.

Customizing Your Setup

You're encouraged to modify the scripts and configuration files to suit your preferences. Here are some tips for customization:

  • Dotfiles: Edit .shared_prompt, .zprompt, .bash_prompt to add or modify shell configurations.
  • Sublime Text and VS Code: Adjust settings in the settings/ directory to change editor preferences and themes.

Contributing

Feel free to fork this repository and customize it for your setup. Pull requests for improvements and bug fixes are welcome, but as said above, I likely won't accept pull requests that simply add additional brew installations or change some settings unless they align with my personal preferences.

License

This project is licensed under the MIT License - see the LICENSE-MIT.txt file for details.

Acknowledgments

dotfiles's People

Contributors

coreymschafer avatar connorjan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.