mirror of https://github.com/fredrikekre/.dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| .bashrc.dotfiles | 6 years ago | |
| .tmux.conf | 6 years ago | |
| README.md | 6 years ago | |
README.md
.dotfiles
Configuration files for syncing between machines. See https://www.atlassian.com/git/tutorials/dotfiles for the idea.
Installation
-
Clone the repo:
$ git clone --bare https://github.com/fredrikekre/.dotfiles.git $HOME/.dotfiles.git -
Define a temporary
dotfilesalias:$ alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME' -
Check out the files:
$ dotfiles checkout -
Add the following to the top of
.bashrc# Include cross-system common parts from .dotfiles.git repo if [ -f ~/.bashrc.dotfiles ]; then . ~/.bashrc.dotfiles fi -
Configure the new local repo to hide untracked files
$ dotfiles config --local status.showUntrackedFiles no -
Reboot the shell