Downcase login name in eshell prompt

Windows sometimes likes to display the login name in all-caps, this is annoying.
This commit is contained in:
Daniel - 2023-05-09 17:53:36 +02:00
parent 88855f6713
commit 8e192e5cfb
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ current directory is not part of a git repository. See
formatting."
(let ((head-face '(:foreground "#859900")))
(concat (propertize "┌─" 'face head-face)
(user-login-name)
(downcase (user-login-name))
"@"
(system-name)
" "