summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/bashrc.sync11
1 files changed, 7 insertions, 4 deletions
diff --git a/dotfiles/bashrc.sync b/dotfiles/bashrc.sync
index 295a2e0..b594d55 100644
--- a/dotfiles/bashrc.sync
+++ b/dotfiles/bashrc.sync
@@ -30,10 +30,13 @@ function git-commit-with-timestamp(){
}
function git-sync-all(){
- print-line
- cd ~/org; git-commit-with-timestamp;
- print-line
- cd ~/dotfiles; git-commit-with-timestamp;
+ while read -r line
+ do
+ echo "$line"
+ cd "$line"
+ git-commit-with-timestamp
+ done < ~/.git-synced
+ cd ~
}
function print-cyan {