![]() |
![]()
| ![]() |
![]()
NAMEprompt_hostname - print the hostname, shortened for use in the prompt SYNOPSISprompt_hostname DESCRIPTIONprompt_hostname prints a shortened version the current hostname for use in the prompt. It will print just the first component of the hostname, everything up to the first dot. EXAMPLESfunction fish_prompt # The machine's full hostname is foo.bar.com >_ prompt_hostname foo COPYRIGHT2024, fish-shell developers
|