htop: fix htoprc when fields is not explicitly set

When the 'fields' setting is not set in htoprc, the htop program won't read any
of the settings. Provide a default value for fields in case it's not explicitly
set by the user.
This commit is contained in:
Bart Bakker 2021-07-29 14:54:28 +02:00 committed by Robert Helgesson
parent 447f80f676
commit e60dca7bb3
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 47 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{
htop-empty-settings = ./empty-settings.nix;
htop-example-settings = ./example-settings.nix;
settings-without-fields = ./settings-without-fields.nix;
}