Updated bashrc
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user