MERIDIAN DATA SYSTEMS // ENVIRONMENT

shell-prompt

DOCUMENT TYPE: SYSTEM REFERENCE NODE: shell-prompt 68 DOCUMENTS
MDS://KNOWLEDGE/ENVIRONMENT/shell-prompt
SHELL PROMPT
============

CUSTOM SHELL PROMPT
-------------------
The shell reads a one-line prompt template from:

    ~/.config/shell/prompt

Create ~/.config and ~/.config/shell if they do not already exist. For example:

    write ~/.config/shell/prompt '$USER@$HOSTNAME:$PWD>'

Variables in the template are expanded for the active shell. See
help shell-environment for details about built-in and saved variables.