cross-posted from: https://lemmy.blahaj.zone/post/48783005
I wrote a simple greeting script for fish as a fetch/motd alternative
Repo: codeberg.org/Lunar267/fish_cute-greeting
A very tiny bit of code but I figured some other ricing enthusiast might like use it





Thanks a lot for the advice!
In practice fish is extremely more efficient then bash with the script profiling at 9ms. Not amazing but since this will only run once when opening the shell its small enough to not be noticeable
So thats where it was! My original script tried to loop over all the cpu max and mins and calculate the percentage before deciding uptime was just more practical. Thanks for the info!
Its just so damn easy to grab the piece of info you want with lol
Really thanks for all the feedback Ill have to work some of your advice in when I get back to my computer