Hi all, While searching for a distro to migrate to, I found an interesting PS1: PS1='[$(tr " " "|" <<< "${PIPESTATUS[*]}") \u@\h \w]\$ ' where the interesting part is the use of PIPESTATUS variable. I knew about it, but used in PS1. It's nice, because you don't have to type "echo $?" every time, and you see the result of each part of pipe. By the way, the fonts I used to type are, - "Fixed Width" for "PS1=" block quote line -- which is "Noto Sans Mono" on my screen. - "Variable Width" for the rest -- which is "Noto Serif" on my screen. How does it show on your screen? --William
William Park via Talk wrote on 2026-01-05 13:10:
- "Fixed Width" for "PS1=" block quote line -- which is "Noto Sans Mono" on my screen. - "Variable Width" for the rest -- which is "Noto Serif" on my screen.
How does it show on your screen?
The sans-serif fixed width shows as such. The rest displays as sans-serif but not fixed width.
participants (2)
-
Ron -
William Park