You are not logged in.
Hi! I am looking for a terminal emulator (or a color scheme) that uses bold letters and a color for the username that is different from the output, just like the one from the installer (using red for the username).
I am using the default Xfce terminal emulator now, but there is no difference between the prompt and the output and it makes it a little confusing. Xterm does the same.
Any ideas?
Thanks!
And neither the angels in Heaven above
Nor the demons down under the sea
Can ever dissever my soul from the soul
Of the beautiful Annabel Lee;
Offline
Hi! I am looking for a terminal emulator (or a color scheme) that uses bold letters and a color for the username that is different from the output, just like the one from the installer (using red for the username).
That is a function of the shell rather than the terminal emulator.
To get the same shell environment as the installer ISO image, use:
# pacman -Syu zsh grml-zsh-config
chsh -s $(which zsh)
Then log out & back in again.
Note that your username will be blue because red is reserved for the root user.
The same effect can be achieved with other shells btw, consult the relevant man pages for the details.
EDIT: search for "PS1" or "prompt" in the man page (<Ctrl>+f to open a search box).
Last edited by Head_on_a_Stick (2018-02-25 16:40:15)
Offline
Offline
you could have a look at oh-my-zsh
This is horrible advice. OMZ is 50% bloat and 50% broken. Even if it weren't, suggesting an enormous framework just to set a PS1 prompt with bold text would be like setting off a nuke to light a candle.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
r4ptor wrote:you could have a look at oh-my-zsh
This is horrible advice. OMZ is 50% bloat and 50% broken. Even if it weren't, suggesting an enormous framework just to set a PS1 prompt with bold text would be like setting off a nuke to light a candle.
Hm yeah, you are right. Just wanted to suggest it, in case a "theme collection" was desirable, beside the PS1 prompt.
50% broken? I have to take a closer look at it, thanks for the hint.
Offline
All right, I think I got it now. Thank you all!
And neither the angels in Heaven above
Nor the demons down under the sea
Can ever dissever my soul from the soul
Of the beautiful Annabel Lee;
Offline
Offline
Or look up some PS1's here. I've set mine to red for root as well.
https://bbs.archlinux.org/viewtopic.php … 5#p1734505
sys2064
Offline