dalance / procs

A modern replacement for ps written in Rust
MIT License
5.04k stars 109 forks source link

Abbreviating long command names #686

Open jackmac92 opened 6 hours ago

jackmac92 commented 6 hours ago

Programs installed by Nix have a very long command name in the /nix/store e.g. /nix/store/3wb0055984n2whn449hywsl4ag9gcjir-python3-3.11.9/bin/python3.11

Any thoughts on adding an option to truncate nix/store paths similiar to abbr_sid for windows? Me and my minimal Rust experience can take a shot if it sounds agreeable but you don't have time for it

dalance commented 6 hours ago

Looks good! If you open a PR, i can merge it.