This is a copy of my own dotfiles, based off Mathias's dotfiles but heavily modified for my own use, with many, many changes to suit my work. If you're looking for a template for your own dotfiles, you'll probably want to use Mathias's repository instead.
Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
You can clone the repository wherever you want. (I like to keep it in ~/repos/dotfiles
.) The bootstrapper script will pull in the latest version and copy the files to your home folder.
git clone https://github.com/prakharbahuguna/dotfiles.git && dotfiles/bootstrap.sh
To update, cd
into your local dotfiles
repository, git pull
the latest changes, and then re-run the script:
./bootstrap.sh
Alternatively, to update while avoiding the confirmation prompt:
./bootstrap.sh -f
To install these dotfiles without Git:
cd; curl -#L https://github.com/prakharbahuguna/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh,LICENSE-MIT.txt}
To update later on, just run that command again.
When setting up a new Mac, you may want to set some sensible MacOS defaults:
./.macos
When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
./brew.sh
To install the settings file and extensions for Visual Studio Code:
./vscode.sh
While this dotfiles repo is primarily targeted at MacOS since that’s where I spend most of my time, it should also work fine on Ubuntu.