39e65b32bc
bash 5.0 is no longer in beta or alpha stage Signed-off-by: Yuvraj Saxena <infectedx27@gmail.com>
30 lines
1006 B
Diff
30 lines
1006 B
Diff
--- a/config-top.h
|
|
+++ b/config-top.h
|
|
@@ -63,7 +63,7 @@
|
|
/* The default value of the PATH variable. */
|
|
#ifndef DEFAULT_PATH_VALUE
|
|
#define DEFAULT_PATH_VALUE \
|
|
- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
|
|
+ "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:."
|
|
#endif
|
|
|
|
/* If you want to unconditionally set a value for PATH in every restricted
|
|
@@ -74,7 +74,7 @@
|
|
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"
|
|
+ "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets"
|
|
#endif
|
|
|
|
/* Default primary and secondary prompt strings. */
|
|
@@ -91,7 +91,7 @@
|
|
#define DEFAULT_BASHRC "~/.bashrc"
|
|
|
|
/* System-wide .bashrc file for interactive shells. */
|
|
-/* #define SYS_BASHRC "/etc/bash.bashrc" */
|
|
+#define SYS_BASHRC "@TERMUX_PREFIX@/etc/bash.bashrc"
|
|
|
|
/* System-wide .bash_logout for login shells. */
|
|
/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
|