add
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user