diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-03-21 18:18:50 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-03-21 18:18:50 +0100 |
commit | 5de61435fb48e2396bd5084e8e1aad28070c0e98 (patch) | |
tree | 233e8ebc41b895c299e42601bbb1307d353aa58d /debian/skel.bashrc | |
parent | a6109c98a25f3eeeff31c6690d6bd50953484bf9 (diff) | |
download | vyatta-bash-5de61435fb48e2396bd5084e8e1aad28070c0e98.tar.gz vyatta-bash-5de61435fb48e2396bd5084e8e1aad28070c0e98.zip |
T1310: use FQDN as hostname in config prompt
Diffstat (limited to 'debian/skel.bashrc')
-rw-r--r-- | debian/skel.bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/skel.bashrc b/debian/skel.bashrc index 939f390..3ac9e8f 100644 --- a/debian/skel.bashrc +++ b/debian/skel.bashrc @@ -23,15 +23,15 @@ fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color) - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\H\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' ;; *) - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\H:\w\$ ' ;; esac # Comment in the above and uncomment this below for a color prompt -#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\H\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' # If this is an xterm set the title to user@host:dir case "$TERM" in |