aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc')
-rw-r--r--sh/shrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc b/sh/shrc
index 9e201ef1..1ab7c406 100644
--- a/sh/shrc
+++ b/sh/shrc
@@ -7,7 +7,7 @@ esac
# Basic PS1 for POSIX shell; if we're using something more advanced, something
# in ~/.shrc.d should overrule this. Does every POSIX shell support these? dash
# does, at least.
-PS1=$(printf '%s@%s$ ' "$(whoami)" "$(hostname -s)")
+PS1=$(whoami)'@'$(hostname -s)'$ '
# Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells
# like bash will have their own functions