Updated bashrc

This commit is contained in:
2024-09-08 18:24:23 +00:00
parent 4c3372d0f4
commit c4e27c3f53
+1 -1
View File
@@ -1,6 +1,6 @@
# /etc/bashrc # /etc/bashrc
# Setting bash prompt if not in chroot # Setting bash prompt if not in chroot
if ! [ -f /tmp/is_chroot ]; then if ! [ "$(awk '$5=="/" {print $1}' </proc/1/mountinfo)" != "$(awk '$5=="/" {print $1}' </proc/$$/mountinfo)" ]; then
PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '
fi fi