This commit is contained in:
Your Name
2025-07-27 22:55:38 +08:00
parent 557f266b3c
commit bc84b69ebc
3 changed files with 213 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Automatically load the Nix flake development environment
use flake
# Add project-specific environment variables
export PROJECT_ROOT="$(pwd)"
export GOPATH="$PROJECT_ROOT/.go"
export GOBIN="$GOPATH/bin"
export GOCACHE="$PROJECT_ROOT/.gocache"
# Add Go bin to PATH
PATH_add "$GOBIN"
# Load any additional .env file if present
dotenv_if_exists