Dotfiles and bootstrapping guide.
Go to file
2024-11-03 15:47:34 -06:00
.gitconfig gitconfig 2024-11-03 14:27:09 -06:00
.tmux.conf tmux config 2024-11-03 14:27:32 -06:00
.vimrc Updated vim and /eg files 2024-11-03 15:47:34 -06:00
.zshrc Zsh config 2024-11-03 14:26:48 -06:00
README.md Updated guide 2024-11-03 14:54:36 -06:00

Dot

Description

There is no place like $HOME. All my dotfiles, and a guide for bootstrapping a new install.

Table of Contents

Features / TODOS

  • Easy to copy.
  • Defaults to revert to.
  • Templates for easy productivity.
  • Guide

Usage

Just copy and paste, or follow the guide below.

If you're starting out as root, do not login as user until you've altered /etc/xdg/user-dirs.defaults

For example, you can see the custom configuration, or the default. Marked folders are mapped to xdg features. The ones linked to repositories need to be downloaded as needed. They are as follows:

  • DESKTOP=gui
  • DOWNLOAD=dl
  • TEMPLATES=eg
  • MARKDOWN=md
  • PUBLICSHARE=pub
  • DOCUMENTS=media/docs
  • MUSIC=media/music
  • PICTURES=media/pics
  • VIDEOS=media/vids
  • PDF=media/pdf
  • CAD=cad
  • REPO=repo
  • SCRIPTS=sh
  • VIRTUALMACHINES=vm

Once complete, assign the appropriate privileges, and login as the user. Run the command:

git init --bare $HOME/.dot To create our config folder.
alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME To set an alias to interact with our config.
config config --local status.showUntrackedFiles no So every file in $HOME is not tracked, just the ones we add.
echo "alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME'" >> $HOME/.bashrc Adds the alias to our bashrc.

TODO: Set up script to pipe into bash for convenience.

Credits / Resources

Tom Preston-Werner - README Driven Development
Dotfiles: Best way to store in a bare git repository

License

This project is licensed under GPLv3 - see the LICENSE file for details.