diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-29 09:50:32 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-05-29 09:50:32 +0200 |
commit | cfe369180686604b4153d6faa936e7e1a858d30d (patch) | |
tree | ae183103b8534d63cfd656efd1957a6a8ec3bd89 /src/etc/skel | |
parent | 684c4e043f61bb186a954ffa2b49e3ebb6838a6f (diff) | |
download | vyos-1x-cfe369180686604b4153d6faa936e7e1a858d30d.tar.gz vyos-1x-cfe369180686604b4153d6faa936e7e1a858d30d.zip |
T5234: extend color prompt with VRF instance name
Diffstat (limited to 'src/etc/skel')
-rw-r--r-- | src/etc/skel/.bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/skel/.bashrc b/src/etc/skel/.bashrc index 6feb613af..c59ef0318 100644 --- a/src/etc/skel/.bashrc +++ b/src/etc/skel/.bashrc @@ -57,7 +57,7 @@ if [ -n "$force_color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then - 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${VRF:+(vrf:$VRF)}\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\H${VRF:+:$VRF}:\w\$ ' fi |