From cfe369180686604b4153d6faa936e7e1a858d30d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 29 May 2023 09:50:32 +0200 Subject: T5234: extend color prompt with VRF instance name --- src/etc/skel/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3