diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-10-23 12:00:21 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-11-08 07:42:34 +0100 |
| commit | 8cafd7a908347a584261ee630fab2ba183273a86 (patch) | |
| tree | 82d8e6fac75b29a77650e752f609b080301643fc /scripts/mkdiff_obj | |
| parent | 782e3fc2b4012958d43e964064fd2f2806d46106 (diff) | |
| download | busybox-w32-8cafd7a908347a584261ee630fab2ba183273a86.tar.gz busybox-w32-8cafd7a908347a584261ee630fab2ba183273a86.tar.bz2 busybox-w32-8cafd7a908347a584261ee630fab2ba183273a86.zip | |
lineedit: fix PS1='\W' for root directory
'\W' in PS1 returned an empty string for the root directory. bash
displays '/' in similar circumstances.
Avoid returning an empty string for the directory.
function old new delta
parse_and_put_prompt 873 883 +10
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/mkdiff_obj')
0 files changed, 0 insertions, 0 deletions
