Skip to content

balamurali27/dotfiles

Repository files navigation

dotfiles

Repo to keep my dotfiles in sync. Repo made based on this comment.

Repo created using

git init --bare $HOME/.myconf
alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME'
config config status.showUntrackedFiles no

and adding files with

config add <filepath>

Quick setup with wget

 sh -c "$(wget -O - https://raw.githubusercontent.com/balamurali27/dotfiles/master/.config/homesetup.sh)"

To use the dotfiles quickly

Clone the repo with

git clone --separate-git-dir=$HOME/.myconf https://github.com/balamurali27/dotfiles $HOME/myconf-tmp

copy the necessary dotfiles to home directory, then

rm -rf ~/myconf-tmp/
echo "alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME'" >> ~/.zshrc
config config status.showUntrackedFiles no

Then use the alias config to work with the repo

About

Repo to keep my dotfiles in sync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •