Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fsandhei/configs

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This approach is based off of this Hacker News Post.

Cloning this repository

In order to clone the repository you have to do the following:

git clone --separate-git-dir=<git-dir> /path/to/repo/ <dest>

git-clone will fail if the directory you're cloning to has any of the existing files from before, so make sure you do it to a clean directory, preferably a temporary directory, and then copy over the files to the $HOME directory. Thus, replicating the configuration on a new machine can be done with the following commands:

repo_path="$HOME/.dotfiles"
git clone --separate-git-dir=$repo_path git@github.com:fsandhei/configs.git $HOME/myconf-tmp
cp $HOME/myconf-tmp $HOME
rm -rf $HOME/myconf-tmp
echo "alias config='/usr/bin/git --git-dir $repo_path --work-tree $HOME'" >> ~/.zshrc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.