#!/bin/bash
set -e

# Reinstall the Nomarchy configuration directory from the git source.

git clone --depth=1 "https://github.com/basecamp/nomarchy.git" ~/.local/share/nomarchy-new >/dev/null
mv $OMARCHY_PATH ~/.local/share/nomarchy-old
mv ~/.local/share/nomarchy-new $OMARCHY_PATH
