aristocratos/btop

[REQUEST] Process command prefix/regex filtering

オープン

#1,054 opened on 2025/03/01

 (2 件のコメント) (14 件のリアクション) (0 人の担当者)C++ (1,130 件のフォーク)batch import
featuregood first issue

Repository metrics

Stars
 (34,151 個のスター)
PR merge metrics
 (平均マージ 5d 20h) (30d で 15 merged PRs)

説明

Is your feature request related to a problem? Please describe. On NixOS, process commands are always very long because everything is located in the Nix store under a cryptographically-hashed prefix (see screenshot). Even at a very high resolution (3840x1600 in my case) with btop maximized, and the left panel hidden, it's impossible to see the full command much of the time.

Describe the solution you'd like I'd like to be able to specify a prefix (maybe regex) to exclude some parts of the process command. For example, instead of /nix/store/<long string>/bin/.firefox-wrapped --name firefox, I could configure it to just show bin/firefox-wrapped --name firefox.

Describe alternatives you've considered Using a different distro would solve this but I don't wanna.

Additional context Image

コントリビューターガイド