summaryrefslogtreecommitdiff
path: root/shells/bash/files/patch-config-top.h
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-10-14 13:24:20 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-10-14 13:24:20 +0000
commit875ebd31e7b0c845a482d12d49e1a601a8fcfdd5 (patch)
treeaee72473670eb41fcdd9149216a8d8a827130e5e /shells/bash/files/patch-config-top.h
parentUpdate to 1.08 (diff)
- better reflect `bash --version' in PORTVERSION
- new shopt colonbreakswords - fix default PATH
Diffstat (limited to '')
-rw-r--r--shells/bash/files/patch-config-top.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/shells/bash/files/patch-config-top.h b/shells/bash/files/patch-config-top.h
new file mode 100644
index 000000000000..39c10151d5c4
--- /dev/null
+++ b/shells/bash/files/patch-config-top.h
@@ -0,0 +1,24 @@
+--- config-top.h.orig Tue Aug 5 16:36:12 2003
++++ config-top.h Mon Oct 11 16:55:40 2004
+@@ -52,18 +52,18 @@
+ /* The default value of the PATH variable. */
+ #ifndef DEFAULT_PATH_VALUE
+ #define DEFAULT_PATH_VALUE \
+- "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
++ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin:%%X11BASE%%/bin"
+ #endif
+
+ /* The value for PATH when invoking `command -p'. This is only used when
+ the Posix.2 confstr () function, or CS_PATH define are not present. */
+ #ifndef STANDARD_UTILS_PATH
+ #define STANDARD_UTILS_PATH \
+- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
++ "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games"
+ #endif
+
+ /* Default primary and secondary prompt strings. */
+-#define PPROMPT "\\s-\\v\\$ "
++#define PPROMPT "\\u@\\h\\$ "
+ #define SPROMPT "> "
+
+ /* Undefine this if you don't want the ksh-compatible behavior of reprinting