Adding option to use FQDN instead of short hostname

Closed Johann Dreo requested to merge github/fork/thoraxe/fqdn-option into master

Created by: thoraxe

This pull request adds an option (LP_ENABLE_FQDN) which will set whether or not the full hostname is used. This leverages the prompt's hostname option (%H for bash and %M for ZSH).

There are some reports that the output of these values may be incorrect on some systems / with some shell versions. I do not account for that in this change.

Merge request reports