-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
profile.d: prepend purple hexagon to PS1 rather than overwriting it #1517
base: main
Are you sure you want to change the base?
Conversation
This also avoids the need to have separate definitions for bash and zsh More importantly it means the traditional Red Hat style bash prompt is not forced onto all other OS toolboxes too. containers#1517 Signed-off-by: Jens Petersen <petersen@redhat.com>
More importantly it means the traditional Red Hat style prompt is not forced onto all other OS toolboxes too. A space is added after the hexagon since vte tends to render it too big at least with google-noto-color-emoji-fonts. containers#1517 Signed-off-by: Jens Petersen <petersen@redhat.com>
Importantly this means the traditional Red Hat style prompt is not forced onto all other OS toolboxes too. A space is added after the hexagon since vte tends to render it too big at least with google-noto-color-emoji-fonts. containers#1517 Signed-off-by: Jens Petersen <petersen@redhat.com>
I tested this locally in a VM and it works for me both with bash and zsh in fedora-toolbox:41 |
Build succeeded. ✔️ unit-test SUCCESS in 6m 34s |
This doesn't work if one overrides the PS1 in a user file (e.g. bashrc), as those are sourced after the ones in /etc/profile.d and would wipe the PS1 change introduced here. |
Importantly this means the traditional Red Hat style prompt is not forced onto all other OS toolboxes as well.