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:
commit
1b9707b764
2 changed files with 14 additions and 0 deletions
12
.bashrc
Normal file
12
.bashrc
Normal 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
2
.dotfiles/dotgit_config
Normal file
|
@ -0,0 +1,2 @@
|
|||
[status]
|
||||
showUntrackedFiles = no
|
Loading…
Add table
Add a link
Reference in a new issue