jackm245 / Dotfiles-Artix-1

Jacks Dotfiles on Artix Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Jack Morgan's Dotfiles

Table of Contents

Description

Programs

How these dotfiles are maintained

To maintain these dotfiles I created a bare git repository following Atlassian's Tutorial

  1. Create a .config file - which is a bare Git repository - that will track the dotfiles.
git init --bare $HOME/.cfg
  1. Create a config alias that is used to specifically interact with the dotfiles repository.
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. Set a flag to hide the files we are not explicitly tracking
config config --local status.showUntrackedFiles no
  1. Add the alias definition to your .bashrc or use this line provided for convenience.
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc

These dotfiles can then my updated using git, but by using the config command

config status
config add .vimrc
config commit -m "Add vimrc"
config add .bashrc
config commit -m "Add bashrc"
config push

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Jacks Dotfiles on Artix Linux


Languages

Language:Lua 35.2%Language:C 30.4%Language:Shell 18.9%Language:Python 10.0%Language:Roff 3.5%Language:Makefile 1.8%Language:Vim Script 0.1%