Skip to content

Latest commit

 

History

History
111 lines (80 loc) · 4.49 KB

File metadata and controls

111 lines (80 loc) · 4.49 KB

Dotfiles

Automated dotfiles install & automated macOS/ Ubuntu setup scripts

GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status

It's a good idea to use a version control system (VCS) like git to manage your dotfiles in one place and a script to bootstrap all your dotfiles, so that every time you set up a new machine or a remote server, you just need to clone the repository and run the ./install script.

The install script is idempotent, meaning that you could run the script repeatedly without causing any side effects.

Hope this repository gives you inspiration.

Run the Script

To run the automated dotfiles-install script for Ubuntu or macOS, choose either:

  • Install with Git
git clone https://github.com/MarkHershey/dotfiles.git && \
cd dotfiles && \
./install
  • Install without Git
bash -c "$(curl -fsSL https://raw.githubusercontent.com/MarkHershey/dotfiles/master/curl_install)"

Before You Run the Script

Fork this Repository

Alternatively, clone this repo and make it your own.

git clone https://github.com/MarkHershey/dotfiles.git && \
cd dotfiles && \
rm -rf .git && \
git init

Configurations

  1. Understand the scripts before you run it, modify it accordingly to suit your own needs.
  2. You should definitely modify the files that contain personal/regional information, such as:

Try it in Docker

Optionally, if you are not sure if the script will deliver what you wanted, you can try the setup in a Docker container.

  • Build image from source

    git clone https://github.com/MarkHershey/dotfiles.git && \
    cd dotfiles && \
    docker build -t ubuntu-dev .

    Then, run the local image

    docker run -it ubuntu-dev

What is included?

TODOs

  • Automate Custom Keybindings for Ubuntu. Reference

References

LICENSE

Copyright (c) 2020-2023 Mark Huang - MIT LICENSE