moonleay@feddit.de to Linux@lemmy.ml · edit-210 months agoTop comment gets to choose my hostnamemessage-squaremessage-square88fedilinkarrow-up1107file-text
arrow-up1107message-squareTop comment gets to choose my hostnamemoonleay@feddit.de to Linux@lemmy.ml · edit-210 months agomessage-square88fedilinkfile-text
minus-squareSunRed@discuss.tchncs.delinkfedilinkarrow-up6·10 months agoMost shells usually default to a truncated version of the hostname that only uses the hostname up to the first dot. Of course one can change that by setting the PS1 env var and using (in case of bash) \H instead of \h.
Most shells usually default to a truncated version of the hostname that only uses the hostname up to the first dot. Of course one can change that by setting the
PS1
env var and using (in case of bash)\H
instead of\h
.