forked from continuwuation/continuwuity
12 lines
212 B
Bash
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
|