The unified diff between revisions [59fd9db6..] and [5d587a01..] is displayed below. It can also be downloaded as a raw diff.
# # # patch ".zshsync" # from [4462a0a07b578eb71f81d5777f333938d3089fbc] # to [cf69da7e70b81255e71c6153e7573c36a08f804e] # ============================================================ --- .zshsync 4462a0a07b578eb71f81d5777f333938d3089fbc +++ .zshsync cf69da7e70b81255e71c6153e7573c36a08f804e @@ -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