vaeringjar fcae58cf61 Fix the clone URL. | hace 5 años | |
---|---|---|
.bash_aliases | hace 5 años | |
.gitignore | hace 5 años | |
.gitignore_global | hace 5 años | |
.vimrc | hace 5 años | |
readme.vxvc.org | hace 5 años |
Refactoring again the tracking of my dotfiles using StreakyCobra's method.
-------------------------------------------------------------------------------
Copyright 2019 vaeringjar. Work distributed under the CC0.
Run this to setup. Please note, this will clobber any older versions!
git clone --bare https://vaeringjar@notabug.org/vaeringjar/dotfiles.git $HOME/.vxvc
git init --bare $HOME/.vxvc
alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'
vxvc config --local status.showUntrackedFiles no
echo "alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'" >> $HOME/.bashrc
vxvc reset --hard HEAD
The ~.bashrc~ file should have the following:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi