3 ms·
My prompt only includes username if it's not the usual one, and it's on an orange-red background if it's root. Similarly, my prompt doesn't include the host wh
by yencabulator 4y ago
My prompt only includes username if it's not the usual one, and it's on an orange-red background if it's root.
Similarly, my prompt doesn't include the host when I'm logged in normally, adds it when I'm in a shell via sudo/doas, and colors it when I'm logged in via SSH.