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