freebsd-ports/shells/bash/files/patch-config-top.h
Emanuel Haupt 4cb2ee99e3 Default path includes the string %%LOCALBASE%%. This was intended to be replaced
with the real value of LOCALBASE by the port Makefile at some point, but it
isn't at the moment.

Set this value in the Makefile by defining CPPFLAGS accordingly.

PR:             217451
Submitted by:   Dan McGregor <dan.mcgregor@usask.ca>
MFH:            2017Q1 (blanket)
2017-03-01 15:19:06 +00:00

11 lines
314 B
C

--- config-top.h.orig 2016-05-19 18:34:02 UTC
+++ config-top.h
@@ -74,7 +74,7 @@
#endif
/* Default primary and secondary prompt strings. */
-#define PPROMPT "\\s-\\v\\$ "
+#define PPROMPT "[\\u@\\h \\w]\\$ "
#define SPROMPT "> "
/* Undefine this if you don't want the ksh-compatible behavior of reprinting