Harald Becker wrote: >As the code for this prompt display has got moved into libbb, it has no >more access to the value of ash's curdir variable ... using getcwd to >get the value to display.
Another similar case I've encountered is with the home directory. The shell respects HOME in performing tilde expansion but lineedit doesn't have access to the shell variable so uses getpwuid when trying to display '~' in the prompt. A user who had HOME set to a different directory than that reported by getpwuid didn't like the result. Ron _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox