commit 1b9707b7647a6e337109362dd2c91238a889991e Author: Gregor Bückendorf Date: Sun Dec 2 21:53:03 2018 +0100 Initial commit. Added bashrc with alias for for the bare dotfiles git repo and a custom gitconfig for the dotfiles alias diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..e954ea3 --- /dev/null +++ b/.bashrc @@ -0,0 +1,12 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +alias dotfiles="git -c include.path=$HOME/.dotfiles/dotgit_config --git-dir=$HOME/.dotgit/ --work-tree=$HOME" + +# I should later write this as a function that checks for the existence of a +# venv subdirectory +alias activate="source venv/bin/activate" diff --git a/.dotfiles/dotgit_config b/.dotfiles/dotgit_config new file mode 100644 index 0000000..5b270a7 --- /dev/null +++ b/.dotfiles/dotgit_config @@ -0,0 +1,2 @@ +[status] + showUntrackedFiles = no