Files

Every file say-hi is made of, reads, recognizes, and creates on your machine, with the variable that moves a path where one does. What a session does on a target is HOW-IT-WORKS.md, and where a package puts its files PACKAGING.md. Settings are SETTINGS.md; what a session may touch on a target is argued in SECURITY.md.

Throughout, $_HI_HOME is the directory holding the tree, $_HI_ROOT is the tree itself ($_HI_HOME/say-hi for a checkout of that name), and $_HI_CONFIG_DIR is ${XDG_CONFIG_HOME:-$HOME/.config}/say-hi unless set.

Contents

The tree

Each file is marked with where it goes:

  • payload — hi.sh’s _HI_PAYLOAD (common/, config/, load.sh, hi.sh): comment-stripped, gzipped, and sent to every target on every connect, less a cut list: config/plugins always, and the files a toggle or the overlay leaves out (HI.39).
  • package — scripts/install.sh’s _HI_PACKAGE_CONTENTS (the payload plus scripts/, LICENSE.md, README.md), copied to <prefix>/say-hi by a package or install.sh --prefix.
  • dev — only in a checkout.

Top level

File Goes What it is
hi.sh payload The client: parses flags, resolves the target, ships the tree, chainloads load.sh there.
load.sh payload The target half: header, session rc, shell handoff, cleanup.
README.md, LICENSE.md package The walkthrough; the MIT license.
docs/ROADMAP.md dev What is left to build, and what each release waits on.
docs/CHANGELOG.md dev Each release’s notes, written before its tag; the source tarball carries it.
CLAUDE.md, .claude/settings.json dev Conventions and shared tool permissions for agent sessions in this repo.
.claude/rules/, .claude/plan-scan dev Rules agent sessions load by path, and the scan of committed notes for private data and secrets.
REUSE.toml, LICENSES/ dev Each file’s license and copyright, in the REUSE layout, and the license texts.
.gitleaks.toml dev The secret scan’s rules and its pinned allow list.
flake.nix, flake.lock dev The nix flake’s outputs (packaging/nix/ holds them) and its pinned nixpkgs.
_config.yml dev The GitHub Pages site’s Jekyll config.
mise.toml dev The development tools at CI’s pins (drift-checked), and tasks for the gate and coverage.
.config/mise/conf.d/ci-tools.toml dev tools.txt’s pins for mise, read beside mise.toml; synced with tools.txt.
.editorconfig, .vscode/settings.json, .zed/settings.json dev Editor settings; shfmt reads its style from .editorconfig.
.gitattributes, .gitignore dev LF everywhere, so Git Bash never gets a CRLF hi.sh; what stays untracked, dist/ too.
.shellcheckrc, .hadolint.yaml dev shellcheck resolves source beside the sourcing file; hadolint’s rules for tests/dockerfiles/.
.markdownlint.yaml, .prettierrc.yaml, .prettierignore, .moxide.toml dev Markdown lint and formatting, kept in agreement.
.typos.toml, lychee.toml dev The spelling check’s allowlist; both link checks’ settings.
.scorecard.yml dev OpenSSF Scorecard annotations.

common/ and config/

All payload but config/plugins. common/ is hi’s code; config/ holds the shipped defaults an overlay copy replaces.

File What it is
common/core.sh What every bash and zsh entry point sources first: toggles, settings, paths, colors, shared functions.
common/paths.sh Every path hi uses, in plain export lines bash, zsh, fish, and sh all read.
common/bash.sh hi’s bash rc: prompt, completion, plugins, the local greeting.
common/zsh.zsh The same for zsh.
common/_hi zsh’s completion for hi, autoloaded off $fpath by the rc’s own compinit.
common/config.fish The same for fish, with its own copies of what fish cannot call in bash.
common/fw_<name>.<ext> One prompt framework’s loader each, sourced by its shell’s rc; a target not handed that framework is not sent it.
common/env_prompt.sh, git_prompt.sh The (myproj) environment segment and the git segment, for bash and zsh.
common/header.sh The connect and disconnect banner, and the package check.
common/targets.sh Every name hi <target> answers to, for all three completions; standalone POSIX.
common/flags hi’s own flags, one row each: dispatch, --help, and completion all read it.
common/keep.sh The kept session, both halves: what hi.sh sends a target to reattach, start, or hold one, hi --end, the retry of a dropped link, and what load.sh runs for a session’s claim on its tree and in an owner pane.
common/mux.sh What tmux, zellij, and screen run in a session: bare, the kept session; with words, the tool on your config.
common/aliases.sh The aliases, in the subset bash, zsh, and fish all parse.
config/colors Color pins, in TOML.
config/packages What the package check looks for, in TOML, a table per group: core and deprecated run by default, useful under the everything preset; base waits to be switched on. docs/packages.example is a longer list to copy.
config/plugins Every tool’s configs hi carries, in TOML: a table per plugin, with its files, its tool, its wire, its places at home, and its dialect (SETTINGS.md). Read where the payload is packed, and not sent.

scripts/

All package, never in the payload.

File What it is
scripts/install.sh hi --install: wires the local shells, links hi; also --prefix and --uninstall.
scripts/rc.sh The lines hi adds to rc files: writing, removing, and syntax-checking them.
scripts/zshrc.sh Where this machine’s zsh reads its .zshrc: under ZDOTDIR, the environment’s or the one ~/.zshenv sets, else ~. rc.sh and pack.sh source it.
scripts/configure.sh hi --configure, the one writer of settings.sh.
scripts/doctor.sh, preview.sh hi --doctor and hi --preview.
scripts/doctor_target.sh hi --doctor’s target section, sourced by doctor.sh: the backend a name resolves to, each check timed, and what a session ships and the target has.
scripts/update.sh hi --update: moves the checkout to a release tag, or fast-forwards dev.
scripts/add_tag.sh hi --add-tag: writes a # Tags: line into ~/.ssh/config.
scripts/convert_settings.sh Rewrites an older hi’s packages, colors, plugins, and settings.sh into the current shape, keeping each as <file>.old; --install, --configure, and --update run it.
scripts/plugins.sh hi --plugins, --disable-plugin, and --enable-plugin: lists what rides, and keeps _HI_PLUGINS_OFF and _HI_PLUGINS_ON in settings.sh.
scripts/edit.sh hi --edit: opens the overlay, or one file of it, in your editor, making a plugins, colors, packages, or settings.sh that is not there yet.
scripts/pack.sh The packer hi.sh sources on a client: the overlay table and the plugins rows, the include scan, the comment strip, and the cached tars a connect sends. A session has none, and relays its tree as it stands (HI.66).
scripts/pack_plugins.sh Sourced by pack.sh: the plugins files read into rows and checked table by table, with their shell hooks.
scripts/pack_scan.sh Sourced by pack.sh: the include scan, the lines naming a path no target has, and the files a marked line carries.
scripts/pack_stream.sh Sourced by pack.sh: the staged tars of the tree and overlay, the comment strip, the payload’s cut list, their caches, and the sizes hi reports.
scripts/lib.sh Helpers shared by the tooling, kept out of core.sh for the payload budget.
scripts/table.sh The display the scripts draw through: column padding, the pieces a line is painted from, the boxed table the previews draw, and the section of rows hi --doctor and hi --plugins report in.
scripts/settings Every setting, a row each: docs/SETTINGS.md’s Every setting table is written from it, and hi --configure writes a settings.sh line for each.

packaging/

All dev: the inputs a release builds from.

File What it is
packaging/nfpm/nfpm.yaml Where the staged tree lands in a .deb, .rpm, and .apk.
packaging/mkpkg.sh Stages the tree through install.sh --prefix, then runs nfpm.
packaging/mkrepo.sh Turns the packages into signed apt, dnf, and apk repositories.
packaging/srctar.sh The release source tarball.
packaging/bump.sh Sets the version and checksums in the AUR and Homebrew manifests at release time.
packaging/stamp.sh Stamps _HI_RELEASE for hi --version, the same way in every channel.
packaging/lib.sh Shared plumbing for the scripts above.
packaging/stamp_badge.sh Stamps README’s payload badge as measured; bench runs its --check.
packaging/homebrew/say-hi.rb The tap formula template.
packaging/nix/package.nix, home-manager.nix The flake’s package, and the home-manager module that writes the rc block.
packaging/aur/say-hi/, aur/say-hi-git/ The versioned and the VCS AUR packages (PKGBUILD, .SRCINFO).
packaging/gpg/say-hi.asc, apk/say-hi.rsa.pub The public keys the repositories and release signatures are checked against.

docs/

dev, except docs/hi.1, the man page a package installs. The docs are indexed in README.md; docs/tapes/ holds the VHS demo tapes, their fixtures, generate.sh to render them, and demo.gif, plus USAGE.md’s examples (usage) and usage.sh to render them; docs/plans/ holds the working plans.

tests/

All dev; TESTING.md is the full layout.

Path What it is
tests/test_runner.sh The runner and its _HI_TESTS table of suites and groups.
tests/test_lib.sh, tests/lib/ The harness every suite sources: workdir, reporting, parallel cases, fixtures, ssh and container backends.
tests/<dir>/*_test.sh One suite per tested area, in a directory named for what it tests (common/, hi/, load/, scripts/, config/, packaging/, harness/).
tests/<dir>/<suite>/ Data files one suite reads, beside it (scripts/convert_settings/: the name:N packages and comma colors files).
tests/lint/ The lint group: shellcheck, the zsh and fish dialects, formatters and editor rcs, drift checks.
tests/bench/ Hot-path timings and the payload size budget.
tests/targets/ The e2e and backends groups: ssh, docker, podman, nomad, kube, install methods, frameworks.
tests/dockerfiles/ Every image those suites build: sshd targets, shell floors, installed-target variants, frameworks.
tests/coverage_v2.sh, profile.sh bashcov coverage, and timep profiles.
tests/scratch/ Untested one-off tools: a BSD VM, case runners, trace and cost rankings, each saying in its header how to run it.

.github/

All dev. workflows/ holds CI (ci.yml and the BSD and Windows runs it calls), coverage, release and publishing, the docs site, demos, and usage images, the link, tool-pin, and release-note checks, and the scanners, each header saying when it runs; actions/ the composite actions they share (shells, backends, setup-tool/tools.txt’s pinned tool roster); scripts/ the helpers they call; plus the issue and pull request templates, CODEOWNERS, dependabot.yml, allowed_signers (the keys a release tag may be signed with), package.json/package-lock.json (the pinned Markdown linters), osv-scanner.toml (the advisories against that lockfile Scorecard’s Vulnerabilities check skips, each with its reason and an expiry), actionlint.yaml and zizmor.yml (the workflow linters’ settings), and prettier-plugin-docs.mjs (writes each doc’s ## Contents list, the settings table, and USAGE.md’s commands as prettier formats them).

Your files

The overlay

Everything in $_HI_CONFIG_DIR that hi knows by name (scripts/pack.sh’s _HI_OVERLAY_FILES, plus the files the plugins rows name). All of it is optional and, plugins aside, rides to every target, landing in $_HI_ROOT/config/ over the defaults it replaces. Directories (extensions/, bin/, zellij’s layouts/ and themes/) ride file by file; a file name starts with a letter or digit, then [A-Za-z0-9_.-], and never ends .bak, .orig, .rej, or .tmp.

File Variable Replaces Read by
settings.sh _HI_SETTINGS - every shell, first; written by hi --configure
settings.<tag>.sh - - hi here, joined onto settings.sh for targets with that tag (SETTINGS.md)
colors _HI_COLORS config/colors prompt and header colors
packages _HI_PACKAGES config/packages the header’s package check, wholesale over the tree’s
aliases.sh - - common/aliases.sh, sourced last
plugins - - hi here, for the plugins yours add or replace (SETTINGS.md)
bin/ - - every session: the directory is last on its $PATH, executable scripts under a size cap alone (SETTINGS.md)
extensions/ _HI_EXTENSIONS - every shell, after the aliases, in name order
header/ _HI_HEADER_CELLS - the header, a cell a file (INTEGRATIONS.md)
bashrc, zshrc, config.fish - - the end of hi’s rc for that shell
vim/vimrc, nvim/init.lua, helix/config.toml, helix/languages.toml, nano/nanorc, emacs/init.el - - the editor aliases and $VIMINIT
kak/kakrc, kak/colors/ - - kakoune on a target ($KAKOUNE_CONFIG_DIR)
tmux/tmux.conf - - the tmux alias (tmux -f)
screenrc - - the screen alias (screen -c)
micro/ (settings.json, bindings.json, init.lua) - - the micro alias (-config-dir)
zellij/ (config.kdl, layouts/, themes/) - - the zellij alias (--config-dir)
starship.toml, oh-my-posh.json (or .yaml, .toml), eza/theme.yml, bat/config - - starship, oh-my-posh, eza, and bat on a target
inputrc - - readline on a target ($INPUTRC)
ripgreprc, fzfrc, lazygit/config.yml - - rg, fzf, and lazygit on a target ($RIPGREP_CONFIG_PATH, $FZF_DEFAULT_OPTS_FILE, $LG_CONFIG_FILE)
git/config - - git on a target, as an include.path ($GIT_CONFIG_COUNT); off by default
atuin/config.toml - - atuin on a target ($ATUIN_CONFIG_DIR); off by default
p10k.zsh, oh-my-zsh.zsh-theme, oh-my-bash.theme.sh, bash-it.theme.bash, tide.vars - - powerlevel10k, oh-my-zsh, oh-my-bash, bash-it, and tide on a target
ssh_tags - - a hi run from inside a session, for the next hop’s tag colors
  • A file with a Replaces entry rides instead of the tree’s, so only one colors is sent. aliases.sh is the exception: yours loads on top of hi’s, so both ride.
  • wiring.sh rides beside them, written by hi as the overlay is packed (HI.62); one in $_HI_CONFIG_DIR is not read.
  • <file>.old copies from scripts/convert_settings.sh stay home.
  • A line that reads a file no target has goes out disabled (SETTINGS.md).

Configs read from where their tool keeps them

With no overlay copy, hi carries the config a tool already reads on this machine, the first found in each row (HI.61); with neither, the tree’s default applies. bashrc, zshrc, and config.fish ride only as overlay copies. A home config rides only when its tool is installed here, or for a prompt program, when that program is handed to targets (INTEGRATIONS.md); an overlay copy rides either way.

Member Looked for, in order
aliases.sh ~/.aliases, else ~/.bash_aliases, the file your bash or zsh rc sources here; sourced last on a target, by each shell that parses it
vim/vimrc ~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc
nvim/init.lua, nvim/init.vim $XDG_CONFIG_HOME/nvim/, with the modules either requires from its lua/
kak/kakrc ${KAKOUNE_CONFIG_DIR:-$XDG_CONFIG_HOME/kak}/kakrc
kak/colors/ ${KAKOUNE_CONFIG_DIR:-$XDG_CONFIG_HOME/kak}/colors/, file by file
helix/config.toml $XDG_CONFIG_HOME/helix/config.toml
helix/languages.toml $XDG_CONFIG_HOME/helix/languages.toml
nano/nanorc ~/.nanorc, $XDG_CONFIG_HOME/nano/nanorc
emacs/init.el ~/.emacs.el, ~/.emacs, ~/.emacs.d/init.el, $XDG_CONFIG_HOME/emacs/init.el
tmux/tmux.conf ~/.tmux.conf, $XDG_CONFIG_HOME/tmux/tmux.conf
screenrc ${SCREENRC:-~/.screenrc}
micro/<file> ${MICRO_CONFIG_HOME:-$XDG_CONFIG_HOME/micro}/<file>, each of the three on its own
zellij/<file> ${ZELLIJ_CONFIG_DIR:-$XDG_CONFIG_HOME/zellij}/<file>: config.kdl, and each file of layouts/ and themes/, the overlay's copy of a name first
starship.toml ${STARSHIP_CONFIG:-~/.config/starship.toml}
oh-my-posh.* the last oh-my-posh init ... --config <file> in ~/.bashrc, ${ZDOTDIR:-~}/.zshrc, and fish’s config.fish, then ${POSH_CONFIG:-$POSH_THEME} over it; the member is the one its extension names, and any overlay copy puts all of them out of the running
p10k.zsh ${POWERLEVEL9K_CONFIG_FILE:-${ZDOTDIR:-~}/.p10k.zsh}
oh-my-zsh.zsh-theme the theme the last ZSH_THEME= in ${ZDOTDIR:-~}/.zshrc names, under ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom} and its themes/, then ${ZSH:-~/.oh-my-zsh}/themes
oh-my-bash.theme.sh the theme the last OSH_THEME= in ~/.bashrc names, under ${OSH_CUSTOM:-${OSH:-~/.oh-my-bash}/custom} and its themes/, then ${OSH:-~/.oh-my-bash}/themes
bash-it.theme.bash the theme the last BASH_IT_THEME= in ~/.bashrc names, under ${BASH_IT_CUSTOM:-${BASH_IT:-~/.bash_it}/custom}/themes, then ${BASH_IT:-~/.bash_it}/themes
tide.vars the SETUVAR tide_* lines of $XDG_CONFIG_HOME/fish/fish_variables, and nothing else from it
eza/theme.yml ${EZA_CONFIG_DIR:-$XDG_CONFIG_HOME/eza}/theme.yml
bat/config ${BAT_CONFIG_PATH:-${BAT_CONFIG_DIR:-$XDG_CONFIG_HOME/bat}/config}
ripgreprc $RIPGREP_CONFIG_PATH; rg reads no file without it
fzfrc $FZF_DEFAULT_OPTS_FILE; fzf reads no file without it
lazygit/config.yml $LG_CONFIG_FILE, $XDG_CONFIG_HOME/lazygit/config.yml, ~/Library/Application Support/lazygit/config.yml
git/config $GIT_CONFIG_GLOBAL, else ~/.gitconfig; $XDG_CONFIG_HOME/git/config; only with hi --enable-plugin git, and less what is private (INTEGRATIONS.md)
atuin/config.toml $ATUIN_CONFIG_DIR/config.toml, else $XDG_CONFIG_HOME/atuin/config.toml; only with hi --enable-plugin atuin
inputrc ${INPUTRC:-~/.inputrc}
ssh_tags the # Tags: lines of ~/.ssh/config and its Includes, a block’s Tag line or a config.d file’s name written as one, each with the Host or Match host line under it and nothing else

Paths hi recognizes

Read, probed, or checked, on whichever machine the shell runs; nothing here is written.

Path Variable Why
the tree, from the entry file’s own path _HI_HOME where every other tree path is derived from
~/.bashrc, ${ZDOTDIR:-~}/.zshrc, ${XDG_CONFIG_HOME:-~/.config}/fish/config.fish - the rc files install wires and doctor checks
~/.bash_profile, ~/.bash_login, ~/.profile - which one a login bash reads (macOS), and the chain a session restores
~/.ssh/config _HI_SSH_CONFIG ssh targets, their # Tags:, completion
~/.ssh/*.pub, ~/.ssh/authorized_keys _HI_SSH_DIR, _HI_SSH_AUTHORIZED_KEYS the header’s key counts
/etc/os-release _HI_LINUX_RELEASE the header’s OS line
/proc/meminfo, /proc/loadavg, /proc/cpuinfo, /proc/uptime, /sys/devices/system/cpu/cpu0/cpufreq - the header’s stats on Linux; macOS and the BSDs are asked through sysctl
/etc/debian_chroot - the prompt’s chroot label
$TERMINFO, ~/.terminfo, /etc/terminfo, /lib/terminfo, /usr/share/terminfo - whether a target knows $TERM, else xterm-256color
.tool-versions, .mise.toml, mise.toml, .mise/config.toml in $PWD and above - the mise environment segment
.git above $PWD - the git segment, read without taking the index lock
$_HI_ROOT/.git - hi --update needs a checkout
hi on $PATH - install and doctor check it runs this tree

docker, podman, nerdctl, finch, nomad, and kubectl are only ever invoked; hi reads none of their config files.

What hi creates on this machine

Install, configure, update, uninstall

Path What
~/.bashrc, ${ZDOTDIR:-~}/.zshrc, ${XDG_CONFIG_HOME:-~/.config}/fish/config.fish lines tagged # added by hi during install, in the login shell’s rc and any other that exists already (--shell chooses); ZDOTDIR is the environment’s, else the one ~/.zshenv sets; the file and its directory are created if missing; --print-rc prints the lines instead
<rc>.hi-orig a one-time backup before hi first writes a non-empty rc; never overwritten; uninstall removes it once the rc matches it again, else keeps it
~/.bash_profile (macOS) a line sourcing ~/.bashrc, plus ~/.profile in a file hi creates
/etc/say-hi/, or the first say-hi/ under $XDG_CONFIG_DIRS the site tier (SETTINGS.md): a settings.sh read before yours, and a colors, packages, or plugins under yours and over the tree’s; $_HI_SITE_DIR overrides the path
$_HI_CONFIG_DIR/plugins the plugins of your own, written by hand (hi --edit plugins opens it)
$_HI_CONFIG_DIR/settings.sh the settings block hi --configure writes, and the _HI_PLUGINS_OFF line hi --disable-plugin keeps
~/.local/bin/hi (--link user), /usr/bin/hi (--link system) a symlink to hi.sh; $_HI_LINK; a link that is not hi’s, or a package’s, is left alone
the checkout hi --update fetches tags and checks one out; refused on a dirty tree
uninstall removes the tagged lines (and an rc hi created that is now empty), settings.sh, and hi’s links; --purge also removes $_HI_CONFIG_DIR

Caches and sockets

In the runtime directory: $XDG_RUNTIME_DIR when it exists, else ${TMPDIR:-/tmp}/hi-<uid>, created mode 700 and refused if it is a symlink or owned by someone else. A cache is written under a temporary name and moved into place.

File What
hi.targets.<kind> completion’s target list, for $_HI_TARGETS_TTL seconds
hi.payload.tree.<key> the gzipped payload, rebuilt when a tree file changes, keyed on the tree’s path and its cut list (the defaults an overlay shadows, the prompt loaders a target is not handed, and the files _HI_DISABLE_HEADER and _HI_DISABLE_KEEP leave out); off with _HI_PAYLOAD_CACHE=0
hi.overlay.<key> the overlay stream, keyed on its member list and the home paths any member was packed from
hi.plugins.<key> the plugins files’ parsed rows, keyed on the tree, site, and overlay paths; read afresh when a plugins file or scripts/ is newer, or a plugins file comes, goes, or changes size
hi.settings.<key> settings.sh with a tagged target’s settings.<tag>.sh files joined on, what that target is sent; rewritten only when its content changes
hi.ssh_tags the ssh_tags member, recut when ~/.ssh/config is newer
hi.kept.<key> an empty mark that a target holds a kept session, for the connection’s key, so a later connect retries and reattaches
hi.overlay.<key>.carry the files the overlay stream carried for its includes, which its cache then watches too
hi.ctl.<key> the shared ssh ControlMaster socket, kept $_HI_CTL_PERSIST seconds (0 turns it off)

fish also keeps __hi_color_user, __hi_color_host, and __hi_colors_key as universal variables in its own store, so a color is only resolved once per change. A checkout keeps .git/hi-version, the git describe a connect sends as the version, asked again once HEAD, its branch, the tags, or the index is newer.

Temporary files

All under $TMPDIR (mktemp -t), and removed when the command ends.

Pattern Made by
hi.log.XXXXXX every hi run
hi.stage.XXXXXX/ building the payload and overlay (the lint and strip passes)
hi.cm.XXXXXX/s a per-run ControlMaster socket, where the shared one is off
hi.boot.XXXXXX/ an overlapped ssh connect: the script, the archives, and the FIFOs between hi and its two calls
hi.wire.XXXXXX/ a connect in series: the archives no cache holds
hi-probe.<pid>/ completion’s parallel backend sweep (mkdir -m 700)
hi.probes.XXXXXX/ the header’s parallel probes, outside a session’s tree
hi.doc.err.XXXXXX hi --doctor
hi.append.XXXXXX, hi.rewrite.XXXXXX, hi.settings.XXXXXX rewriting an rc file or settings.sh in place
hi.config.XXXXXX hi --add-tag, hi --remove-tag
hi.settings.sh.XXXXXX hi --disable-plugin, hi --enable-plugin
hi.convert.XXXXXX scripts/convert_settings.sh

Variables hi sets

State hi sets for itself, not settings: setting one by hand tells a shell something untrue about where it is. The settings-shaped names a user can read are SETTINGS.md’s Not settings; everything else beginning _HI_ is internal.

Variable What it holds
_HI_VIMRC, _HI_NVIMRC, _HI_NANORC on a target, the path of a config that rode (HI.62)
_HI_KEEP_MUX, _HI_KEEP_NAME a kept session’s multiplexer and name, for its first pane (HI.65)
_HI_ASCII the client’s verdict on whether its terminal shows multibyte glyphs, sent with $NO_COLOR
_HI_RELEASE the version packaging/stamp.sh stamps at build time
_HI_SESSION_RC a session’s per-shell rc directory (HI.46)
_HI_TARGET_COLOR, _HI_TARGET_TAG the color and tag the target resolved to, from the client
_HI_LOCAL_USER, _HI_LOCAL_HOSTNAME the header’s “from” half, from the client

Build and release artifacts

All under dist/ in the checkout (packaging/mkpkg.sh --outdir moves it).

Path What
dist/staging/ the tree as install.sh --prefix /usr/share lays it out, before nfpm
dist/*.deb, *.rpm, *.apk the packages
dist/say-hi-<version>.tar.gz the source tarball
dist/SHA256SUMS, SHA256SUMS.minisig checksums of the above, and their signature when the release key is present
dist/ARTIFACTS the file list the release workflow uploads
dist/manifests/ the bumped PKGBUILD, SRCINFO, and say-hi.rb
dist/say-hi.spdx.json the SBOM, alongside build-provenance attestations
dist/repo/, dist/package-repo.tar.gz the signed apt, rpm, and apk repositories, and the archive the docs site serves

This site uses Just the Docs, a documentation theme for Jekyll.