The unified diff between revisions [642c6934..] and [7b261164..] is displayed below. It can also be downloaded as a raw diff.
# # # patch ".zshsync" # from [e266f8767f11550cdce8523cdf89ce9128a454ae] # to [0a1bc96e508c72f97e4ba28879f3087c2c331aa0] # ============================================================ --- .zshsync e266f8767f11550cdce8523cdf89ce9128a454ae +++ .zshsync 0a1bc96e508c72f97e4ba28879f3087c2c331aa0 @@ -10,8 +10,12 @@ zshsync () if [[ ! -e "$mtndb" ]]; then mtn --db="$mtndb" db init fi - pull_branch="net.angrygoats.private.dotfiles" - pull_from="ssh://grahame@martello.ucc.gu.uwa.edu.au/home/wheel/grahame/mtn/db/angrygoats.db" + if [[ -z $pull_branch ]]; then + pull_branch="net.angrygoats.private.dotfiles" + fi + if [[ -z $pull_from ]]; then + pull_from="ssh://grahame@martello.ucc.gu.uwa.edu.au/home/wheel/grahame/mtn/db/angrygoats.db" + fi mtn --db="$mtndb" sync "$pull_from" "$pull_branch" if [[ -d "$HOME/_MTN" ]]; then cd "$HOME" && mtn update