chiark / gitweb /
dot/shell-rc: Fix bungled prompt hack.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 22 Nov 2018 13:22:23 +0000 (13:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 22 Nov 2018 13:22:23 +0000 (13:22 +0000)
dot/shell-rc

index 975410649ed39b758c32fa1e94f23dcb8524dbf6..965e8ab99f3d59fa49bd91a3795bb32eb19fd0c5 100644 (file)
@@ -64,7 +64,7 @@ __mdw_set_prompt_pieces () {
   ## If this is an schroot environment or some other interesting augmented
   ## environment then point this out.
   hqual="$hqual${SCHROOT_CHROOT_NAME+/$SCHROOT_CHROOT_NAME}"
   ## If this is an schroot environment or some other interesting augmented
   ## environment then point this out.
   hqual="$hqual${SCHROOT_CHROOT_NAME+/$SCHROOT_CHROOT_NAME}"
-  hqual="$hqual${MDW_BUILDENV+/$BUILDENV}"
+  hqual="$hqual${MDW_BUILDENV+/$MDW_BUILDENV}"
 
   ## Put together the main pieces.
   __mdw_prompt_left="$nl$bold$left$sec_l$u$host$hqual$sec_r$dir"
 
   ## Put together the main pieces.
   __mdw_prompt_left="$nl$bold$left$sec_l$u$host$hqual$sec_r$dir"