calfzhou / dotfiles

Configuration files for kinds of tools and systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lots of Configurations

It's time to make as many as possible configuration files under version control.

This can also help me to sync configurations among computers or systems.

The master branch is for general conditions. System based branches will be used for different systems and/or environments.

About Git Submodules

This repo contains several submodules, to make it simple, use git clone --recursive (or git c if you are using git config provided by this repo).

Otherwise, use git submodule init and git submodule update after a normal clone.

To update all submodules, run git submodule foreach git pull.

General Usage

Generally speaking, to use these configurations, just create symbol links from cloned folder to the desired destination.

On Linux and MacOS, simply use ln -s TARGET LINK_NAME to create symbol links.

On Windows, there are several ways:

  1. Use junction LINK_NAME TARGET_FOLDER to create junction (soft) link to a folder;
  2. Use ln.exe TARGET_FILE LINK_NAME to create hard link to a file. But the target and link name must be in the same driver.
  3. Use mklink (should run as adiministrator) to create either kind of link:
    1. mklink LINK_NAME TARGET to create a symbol link file.
    2. mklink /d LINK_NAME TARGET to create a symbol link to a folder.
    3. mklink /j LINK_NAME TARGET to create a junction.
    4. mklink /h LINK_NAME TARGET to create a hard link.

About

Configuration files for kinds of tools and systems

License:MIT License


Languages

Language:Shell 85.3%Language:Python 10.8%Language:Vim Script 2.7%Language:Less 0.7%Language:CoffeeScript 0.6%