Username module displays Administrator
instead of my username in Windows MSYS2 shell.
#6339
Labels
🐛 bug
Something isn't working as expected.
pkg_version:1.20.1
branch:master
commit_hash:f505324
build_time:2024-07-27 09:12:42 +00:00
build_env:rustc 1.80.0 (051478957 2024-07-21),stable-x86_64-pc-windows-msvc
Generated bug report:
Current Behavior
The username module displays
Administrator
on Windows. While my user account is in the administrator group I would prefer it display my actual username.Expected Behavior
Displays
Dave
Additional context/Screenshots
Possible Solution
Environment
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Relevant Shell Configuration
Starship Configuration
The text was updated successfully, but these errors were encountered: