Files
fish-shell/doc_src/cmds
Daan De Meyer 484032fa9e Support SHELL_PROMPT_PREFIX, SHELL_PROMPT_SUFFIX, and SHELL_WELCOME
Add support for the SHELL_PROMPT_PREFIX, SHELL_PROMPT_SUFFIX, and
SHELL_WELCOME environment variables as standardized by systemd v257.

SHELL_PROMPT_PREFIX and SHELL_PROMPT_SUFFIX are automatically prepended
and appended to the left prompt at the shell level, so all prompts
(default, custom, and sample) pick them up without modification.

SHELL_WELCOME is displayed after the greeting when an interactive shell
starts.

These variables provide a standard interface for tools like systemd's
run0 to communicate session context to the shell.

Fixes https://github.com/fish-shell/fish-shell/issues/10924

Closes #12570
2026-03-26 15:45:50 +08:00
..
2025-12-18 15:04:06 +01:00
2026-01-04 13:08:26 +01:00
2025-12-08 21:19:43 +08:00
2025-12-15 19:23:01 +01:00
2026-03-13 14:22:21 +08:00
2025-05-28 17:09:13 +02:00
2025-01-06 19:40:30 -06:00
2026-01-04 13:08:26 +01:00