Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
home directory config files
Shell VimL
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.ssh
.bash_aliases
.bash_profile
.bashrc
.git-prompt.sh
.gitconfig
.gitexclude
.gitignore
.vimrc
README.md

README.md

Clone the dotfiles repo to $HOME/.dotfiles as a bare repo. We will checkout the files into their actual places in our home dir.

cd $HOME
git clone git@github.com:shtylman/dotfiles.git .dotfiles -n

Get the script to work with dotfiles. dotfiles will act as git when we want to edit our dotfiles.

GIT_DIR=$HOME/.dotfiles/.git GIT_WORK_TREE=$HOME git reset HEAD -- bin/dotfiles
GIT_DIR=$HOME/.dotfiles/.git GIT_WORK_TREE=$HOME git checkout -- bin/dotfiles

See how your current homedir differs from expected dotfiles setup

dotfiles status

To put dotfiles in $HOME into same state as repo dotfiles run this command. WARNING it will override any existing files. So make sure you do dotfiles diff first to see if you care.

dotfiles reset HEAD --hard
Something went wrong with that request. Please try again.