c6d3c8478d
To improve debugability, include the cwd in the PS1 prompt for interactive shells. Change-Id: I462cd63e68fd455e8e71c6849bd35501c46d7b92
17 lines
444 B
Diff
17 lines
444 B
Diff
Index: buildroot/system/skeleton/etc/profile
|
|
===================================================================
|
|
--- buildroot.orig/system/skeleton/etc/profile 2017-10-07 19:55:20.773561441 -0400
|
|
+++ buildroot/system/skeleton/etc/profile 2017-10-07 19:55:33.381690124 -0400
|
|
@@ -2,9 +2,9 @@
|
|
|
|
if [ "$PS1" ]; then
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
- export PS1='# '
|
|
+ export PS1='\w # '
|
|
else
|
|
- export PS1='$ '
|
|
+ export PS1='\w $ '
|
|
fi
|
|
fi
|
|
|