cat /etc/hostname: >trusty-virtbox.jff.de<

prompt with h: >jff@trusty-virtbox:~$<

prompt with H: >j...@trusty-virtbox.jff.de:~$<

then

cat /etc/hostname: >trusty-virtbox<

prompt with h: >jff@trusty-virtbox:~$<

prompt with H: >jff@trusty-virtbox:~$<


Thus makes bash exactly what it should do.

If the contents of /etc/hostname is not FQDN, bash cannot show an FQDN.

But this is a problem of your setup und not of bash.

If you want to change the function then contact the maintainer direct
via http://tiswww.case.edu/php/chet/bash/bashtop.html#Maintainer

Jörg

** Changed in: bash (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276796

Title:
  bash fails to provide FQDN for PS1 with \H

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to