mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
Added script to pull latest dotfiles
This commit is contained in:
10
bin/bin/pull-dotfiles
Executable file
10
bin/bin/pull-dotfiles
Executable 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
|
||||
Reference in New Issue
Block a user