Initial commit. Added bashrc with alias for for the bare dotfiles git repo and a custom gitconfig for the dotfiles alias

This commit is contained in:
Gregor Bückendorf 2018-12-02 21:53:03 +01:00
commit 1b9707b764
2 changed files with 14 additions and 0 deletions

12
.bashrc Normal file
View file

@ -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"

2
.dotfiles/dotgit_config Normal file
View file

@ -0,0 +1,2 @@
[status]
showUntrackedFiles = no