# lib/profile - shell startup profile
# Sourced automatically on zrc startup
# Sets up environment and search path

# Script search path (colon-separated)
path=/n/local/rc/lib:/n/local/rc

# Default timezone (UTC offset in hours)
# Override with: env tz -5
if (test -z $tz) { env tz 0 }

# Default username (factotum loads from NVS; fall back to 'frst')
if (test -z $user) { env user frst }

# Default editor for compose flows (gopher `w` posts, etc).  zrc's C-side
# init seeds 'se' (the visual screen editor).  Change it here to make the
# choice non-volatile — any of: se, vi, sam, ed, sed.
#     env editor vi
if (test -z $editor) { env editor se }

# Data crystal defaults.  zrc's C-side init seeds dc_host and the
# build-correct dc_port (8443 for WASM via wss://, 9777 for native_sim
# and ESP32 plain TCP).  Override at the prompt to point elsewhere:
#     env dc_host localhost ; env dc_port 9777 ; attune
