system/dash: shell PS1 is wrong when using su(1) and root uses Dash as shell
Bugzilla ID | 206 |
Reporter | erhard_f |
Assignee | A. Wilcox (awilfox) |
Reported | 2019-09-28 16:08:35 -0500 |
Modified | 2019-10-16 18:04:07 -0500 |
Status | CONFIRMED |
Version | 1.0-BETA4 |
Hardware | Adélie Linux / PowerPC (32-bit) |
Importance | --- / normal |
Description
When logging in from another machine (my Gentoo amd64 box) on my PowerMac G4 DP, the command prompt is correctly shown when I log in as user. As soon as I do an 'su' the prompt gets funky.
Looks like this:
$ ssh T600
Password:
ef on T600 ~ % ls
Desktop Documents Downloads Music Pictures Public Templates Videos
ef on T600 ~ % su
Password:
%n on %B%F{white}%m%f%b %~ %B%F{green}%#%f%b ls /home/ef/
Desktop Documents Downloads Music Pictures Public Templates Videos
%n on %B%F{white}%m%f%b %~ %B%F{green}%#%f%b