From 6083b0f20f236726c361961cd3eccb9a0f5a2f96 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 31 Oct 2020 16:10:47 -0400 Subject: [PATCH] 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. --- .shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shrc b/.shrc index 46a566e..676fd0d 100644 --- 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 } -- libgit2 0.28.4