pure icon indicating copy to clipboard operation
pure copied to clipboard

Avoids prompt_pure_state_setup check with config option

Open aanzolaavila opened this issue 2 years ago • 3 comments

Checking inside prompt_pure_state_setup takes quite a long time to execute (happens to me quite a lot in other computer, where it takes like 4+ seconds just to boot the console), I'm adding an option to check whether to do this check or not.

Before

image

After

image

aanzolaavila avatar Jun 14 '22 19:06 aanzolaavila

Would you mind running this on the slow machine (execution times will suffice, no need for all output):

time who -m
time who

And the output from this command:

ls -lha /var/run/?tmp*

I'd like to figure out why these commands are running so slowly on your machine. Does it use spinning HDDs?

mafredri avatar Jun 14 '22 20:06 mafredri

I would prefer fixing the underlying issue than adding more options.

sindresorhus avatar Jun 14 '22 21:06 sindresorhus

Hi, this is the output from my slow computer Screen Shot 2022-06-15 at 11 43 45 AM

aanzolaavila avatar Jun 15 '22 16:06 aanzolaavila

Closing as it should be properly fixed. We cannot add options for everything. I suggest moving this to an issue instead.

sindresorhus avatar Dec 10 '22 19:12 sindresorhus