commit 6083b0f20f236726c361961cd3eccb9a0f5a2f96 (patch)
parent 92455d077c77aabd570b60f76de4d65e0efadbd2
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 31 Oct 2020 16:10:47 -0400
sh: Add user@host to prompt
I may or may not have just sysupgrade -s'd my VPS instead of my
laptop... time to put the hostname back in the prompt, I think.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.shrc b/.shrc
@@ -21,7 +21,7 @@ last_err() {
echo "($err) "
fi
}
-PS1='$(last_err)\w \$ '
+PS1='$(last_err)\u@\h:\w \$ '
# Includes
include() { if [ -r "$1" ]; then . "$1"; fi }