diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc.d/prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/prompt.sh b/sh/shrc.d/prompt.sh index 6f1e8e1f..30e4e9d8 100644 --- a/sh/shrc.d/prompt.sh +++ b/sh/shrc.d/prompt.sh @@ -7,5 +7,5 @@ PS1='$ ' PS2='> ' PS3='? ' PS4='+ ' # If we have an SSH_CLIENT or SSH_CONNECTION environment variable, put the # hostname in PS1 too. if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_CONNECTION" ] ; then - PS1=$(hostname)'$ ' + PS1=$(hostname -s)'$ ' fi |