đŠ 3PAK Shell â profile.d
By Nawder Loswin 1/4/2026 © www.TriadicFrameworks.org#
TriadicFrameworks â tftâ3pack Environment Bootstrap#
This folder is part of the 3pak-shell, the commandâline companion to the TriadicFrameworks 3âPack runtime.
đ§© Purpose of profile.d#
The scripts in this directory:
- set up environment variables for 3PAK
- create local state directories
- initialize logs
- provide helper functions for developers
- ensure the shell starts in a clean, triadicâaligned state
They are sourced automatically when the 3PAK Shell is activated.
đ Included Script#
3pak.sh#
This is the primary initialization script for the 3PAK environment.
It provides:
THREEPAK_HOMEâ local environment directoryTHREEPAK_STATEâ state file for notes and markersTHREEPAK_LOGâ lightweight log file- helper functions:
threepak_statusâ show environment infothreepak_noteâ append a note to statethreepak_clearâ reset state
- a friendly startup message
- a minimal logging helper
This script is intentionally simple and safe, mirroring the philosophy of the TriadicFrameworks overlays and shells.
đ How Developers Use the 3PAK Shell#
Once the shell is activated, developers can:
threepak_status
threepak_note "Started a new session"
threepak_clear