GitXplorerGitXplorer
s

dotfiles

public
8 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
75e30a4dcec1ada5a08ef31c9603d709ee1ddc54

Add ignoreCase=false

ssidharthv96 committed 2 years ago
Verified
7c9611a981a113aa35f165a31706f78db5e7a48b

Add corne LP

ssidharthv96 committed 2 years ago
Verified
1d631734747094c8422e25c5fa7be4cfb4caf8dc

Switch to vscode

ssidharthv96 committed 2 years ago
Verified
f4a696fcbf92205be893a561d7116d94eeb5da66

Remove nvm

ssidharthv96 committed 2 years ago
Verified
82431a69330566ce5fda3c7614dca778829d1f82

Merge branch 'master' of https://github.com/sidharthv96/dotfiles

ssidharthv96 committed 2 years ago
Verified
a37ba5734b3420660d12eaebe82c7b5081805438

Update rsync exclude

ssidharthv96 committed 2 years ago

README

The README file for this repository.

Installation

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!

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/dev/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/sidharthv96/dotfiles.git && cd dotfiles && source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh

Git-free install

To install these dotfiles without Git:

cd; curl -#L https://github.com/sidharthv96/dotfiles/tarball/main | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh,.osx,LICENSE-MIT.txt}

To update later on, just run that command again.

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.

Here’s an example ~/.path file that adds /usr/local/bin to the $PATH:

export PATH="/usr/local/bin:$PATH"

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

You could also use ~/.extra to override settings, functions and aliases from my dotfiles repository. It’s probably better to fork this repository instead, though.

Sensible macOS defaults

When setting up a new Mac, you may want to set some sensible macOS defaults:

./.macos

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

./brew.sh

Some of the functionality of these dotfiles depends on formulae installed by brew.sh. If you don’t plan to run brew.sh, you should look carefully through the script and manually install any particularly important ones. A good example is Bash/Git completion: the dotfiles use a special version from Homebrew.

Secrets

Confidential files can be stored safely in the repo using git secret

# To check in
# Put confidential files in `./confidential`
git secret add confidential
git secret hide
git add .

# To access
git secret reveal

# To see diff
git secret changes

Feedback

Suggestions/improvements welcome!

Heavily Inspired by Mathias Bynens' dotfiles