projects
/
dotfiles
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e67398b
)
Add tiny helper to help sync dotfiles
author
Julien Valroff
<julien@kirya.net>
Sun, 20 Oct 2013 16:09:45 +0000
(18:09 +0200)
committer
Julien Valroff
<julien@kirya.net>
Sun, 20 Oct 2013 16:09:45 +0000
(18:09 +0200)
update-dotfiles
[new file with mode: 0755]
patch
|
blob
diff --git a/update-dotfiles
b/update-dotfiles
new file mode 100755
(executable)
index 0000000..
847448b
--- /dev/null
+++ b/
update-dotfiles
@@ -0,0
+1,9
@@
+#!/bin/sh
+
+dotfiles_location="$HOME/.dotfiles"
+
+for i in $(ls "$dotfiles_location"); do
+ echo -n "Updating $i: "
+ cd "$dotfiles_location"/"$i"
+ git pull
+done