Skip to content
A collection of my various dotfiles for my Arch Linux setup
Vim script Shell Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.config/terminator
.fonts
.i3
.oh-my-zsh/custom/themes
.vim
.wallpapers
.Xdefaults
.Xresources
.bashrc
.compton.conf
.dircolors
.nanorc
.vimrc
.zshrc
README.md

README.md

dotfiles

A collection of my various dotfiles for my Arch Linux setup

https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/

git clone --bare https://github.com/james-j-obrien/dotfiles.git $HOME/.cfg
function config {
   /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
  echo "Checked out config.";
  else
    echo "Backing up pre-existing dot files.";
    config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{}
fi;
config checkout
config config status.showUntrackedFiles no
You can’t perform that action at this time.