summaryrefslogtreecommitdiff
path: root/src/etc/skel
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/skel')
-rw-r--r--src/etc/skel/.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/skel/.bashrc b/src/etc/skel/.bashrc
index 6feb613af..ba7d50003 100644
--- a/src/etc/skel/.bashrc
+++ b/src/etc/skel/.bashrc
@@ -57,9 +57,9 @@ 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)}${NETNS:+(ns:$NETNS)}\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
- PS1='${debian_chroot:+($debian_chroot)}\u@\H${VRF:+:$VRF}:\w\$ '
+ PS1='${debian_chroot:+($debian_chroot)}\u@\H${VRF:+:$VRF}${NETNS:+(ns:$NETNS)}:\w\$ '
fi
unset color_prompt force_color_prompt