Skip to content

TheMetaphysicalCrook/dotfiles-3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

989 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

This is my collection of configurations and scripts.

To clone the repository with all submodules into ~/.dotfiles, run

git clone --recursive https://github.com/yangle/dotfiles.git ~/.dotfiles

To update all submodules, run

git submodule sync && git submodule update --init --recursive

Install

The setup script uses pattern matching to create symlinks in the $HOME directory:

  1. For any file prefixed by an underscore in the repository root, say _$FILE, setup creates a symlink ~/.$FILE to _$FILE.

  2. For any directory prefixed by an underscore in the repository root, say _$DIR/, setup creates a symlink ~/.$DIR to _$DIR/.

  3. For any directory prefixed by a dash in the repository root, say -$DIR/, setup makes a directory ~/.$DIR and creates in it a symlink to each individual file under _$DIR/, making nested subdirectories when necessary.
    (This leaves all other files under ~/.$DIR out of version control.)

  4. Any file or directory in the repository root that is not prefixed by an underscore or a dash is ignored by setup.

Before creating the symlinks and thus possibly overwriting existing files in the $HOME directory, setup creates a tarball backup of such files to be overwritten.

Goodies

dconf - Basic settings for GNOME Shell: fix annoying defaults, set keyboard shortcuts, etc.

find-venv - Find the activate script of a Python virtual environment named .venv in a parent directory.

clean-up-latex - Prepare .tex source files for arXiv / journal submission: remove comments, merge .bbl into .tex, move figures out of individual folders, etc.

mytex - Wrapper around rubber to compile (xe)latex + bibtex till convergence, without littering the current working directory.

mytexmk - Monitor .tex source files and call mytex automatically upon changes.

refresh-chromium - Monitor files and refresh Chromium automatically upon changes.

... and many more!

About

configs and scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 32.0%
  • Shell 29.7%
  • Vim Script 16.2%
  • C 6.1%
  • JavaScript 5.9%
  • TeX 5.9%
  • Other 4.2%