From fbae4a4ca9db5c7734d12e9646b3ffdafbb97b2c Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Thu, 26 Apr 2018 09:08:42 -0500 Subject: 2018-04-26 09:08 --- dotfiles/bashrc.sync | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'dotfiles') 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 { -- cgit v1.2.3