Added script to pull latest dotfiles

This commit is contained in:
2020-07-14 12:32:48 +01:00
parent f7ae08e132
commit 00d3a623a3

10
bin/bin/pull-dotfiles Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ -d "${HOME}/.dotfiles" ];
cd $HOME/.dotfiles
git reset --hard && git pull
fi
if [ -d "${HOME}/.dotfiles-private" ];
cd $HOME/.dotfiles-private
git reset --hard && git pull
fi