On 7/24/19 9:58 AM, Thomas Deutschmann wrote:
> At the moment, \h and \H used in prompt PS1 or PS2 will actually return
> the same value while manpage claims that \h should return hostname up to
> the first '.' (like `hostname`) and \H should return full hostname (like
> `hostname -f`).

Thanks for the patch. This is system-dependent: there are systems, like
mine, where `hostname' returns the system's FQDN. It all depends on the
administrator's choices.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to