It's me again, with a few issues. They aren't major issues, I just wanted to let you know.
I noticed that using env!("HOME") uses the environment variable at compile time, so if you compile the executable and send it to someone else, it won't work. To fix that, use env::var("HOME)" instead
env::var("HOME") doesn't work on Windows. I assume this isn't important to you since you run Linux, but just for context, starship uses this to get the home directory path
It's me again, with a few issues. They aren't major issues, I just wanted to let you know.
env!("HOME")
uses the environment variable at compile time, so if you compile the executable and send it to someone else, it won't work. To fix that, useenv::var("HOME)"
insteadenv::var("HOME")
doesn't work on Windows. I assume this isn't important to you since you run Linux, but just for context, starship uses this to get the home directory path