matrix-docker-ansible-deploy/.envrc

14 lines
315 B
Bash

#!/usr/bin/env bash
# ^ added for shellcheck and file-type detection
# Watch & reload direnv on change
cd devshell || exit
watch_file devshell.toml
if [[ $(type -t use_flake) != function ]]; then
echo "ERROR: use_flake function missing."
echo "Please update direnv to v2.30.0 or later."
exit 1
fi
use flake