#!/usr/bin/env sh

# Accepts all arguments to nh os switch
# For example --ask to prompt if the user want to switch configs

# Rebuild and switch the environment if successful
git add .
./fmt
nh os switch . "$@"
