continuwuity/.envrc
2026-02-20 21:23:50 -05:00

12 lines
212 B
Bash

#!/usr/bin/env bash
watch_file .env
if [ -f .env ]; then
dotenv .env
fi
if [ -f /etc/os-release ] && grep -q '^ID=nixos' /etc/os-release; then
use flake ".#${DIRENV_DEVSHELL:-default}"
fi
PATH_add bin