Browse code

Add dotfiles

Robert Cranston authored on 13/02/2022 02:08:04
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+  # https://wiki.debian.org/chroot
2
+__prompt_chroot="$(! [ -r '/etc/debian_chroot' ] || cat '/etc/debian_chroot')"
3
+
4
+__prompt_chroot()
5
+{
6
+  if [ "$__prompt_chroot" ]
7
+  then
8
+    printf "$1" "$__prompt_chroot"
9
+  fi
10
+}