aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/prompt.sh
blob: ef3009ae8c8d2b552e3f034e9acf84464b6a9f54 (plain) (blame)
1
2
3
# Basic PS1 for POSIX shell
# Does every POSIX shell support these? dash does, at least.
PS1=$(printf '%s@%s$ ' "$(id -nu)" "$(hostname -s)")