aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/prompt.sh')
-rw-r--r--sh/shrc.d/prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/prompt.sh b/sh/shrc.d/prompt.sh
index ef3009ae..dff42f05 100644
--- a/sh/shrc.d/prompt.sh
+++ b/sh/shrc.d/prompt.sh
@@ -1,3 +1,3 @@
# Basic PS1 for POSIX shell
# Does every POSIX shell support these? dash does, at least.
-PS1=$(printf '%s@%s$ ' "$(id -nu)" "$(hostname -s)")
+PS1=$(printf '%s@%s$ ' "$(whoami)" "$(hostname -s)")