Sravan Balaji 88d121dd64 README as Org File
- Emacs font adjustment
- Xmonad default terminal
- Re-write dotfiles README as org file
2021-05-07 10:14:26 -04:00
2021-05-07 10:14:26 -04:00
2020-05-25 12:11:38 -04:00
2021-03-31 14:57:27 -04:00
2021-05-07 10:14:26 -04:00
2021-01-28 12:19:42 -05:00
2021-05-06 19:46:31 -04:00
2021-03-31 14:57:27 -04:00
2021-04-08 09:17:27 -04:00
2021-04-08 09:17:27 -04:00
2021-05-07 10:14:26 -04:00

Personal Dotfiles

Installation

See *Acknowledgements for tutorial source.

Prior to the installation, create alias for config

  alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"

Add .cfg to .gitignore

  echo ".cfg" >> .gitignore

Clone dotfiles into a bare repository

  git clone --bare <git-repo-url> $HOME/.cfg

Define the alias in the current shell scope

  alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"

Checkout content from bare repository to $HOME

  config git checkout

Step above might fail with a message like:

  error: The following untracked working tree files would be overwritten by checkout:
      .bashrc
      .gitignore
  Please move or remove them before you can switch branches.
  Aborting

Delete the untracked files so they can be overwritten with the version from dotfiles

  rm ~/.bashrc ~/.gitignore

Re-run checkout

  config git checkout

Set the flag showUntrackedFiles to no on this specific (local) repo

  config git config --local status.showUntrackedFiles no

Pull and update submodules

  config git submodule update --init --recursive

Acknowledgements

I followed DistroTube's process for setting up a git bare repository as shown in Git Bare Repository - A Better Way To Manage Dotfiles. He references The best way to store your dotfiles: A bare Git repository by Nicola Paolucci.

Description
Personal dotfiles repository
Readme 15 MiB
Languages
Vim Script 32.6%
Shell 31.5%
Lua 23.2%
CSS 10.1%
Just 2.6%