aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-10-11 18:37:39 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-10-11 18:37:39 +0300
commitb1e25166433ce93403324a96f129712e4fac944d (patch)
tree3c168076c6699009ebc85fe1ebd3a65970853481 /Cargo.lock
parentMake Prompt more const (diff)
downloadrshell-b1e25166433ce93403324a96f129712e4fac944d.tar.xz
Properly read username and hostname
username is read by using libc::getuid, and checking /etc/passwd for the uid and getting the username from there hostname is read from /proc/sys/kernel/hostname
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions