mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
https://mths.be/dotfiles
MIT License
30.02k stars 8.74k forks source link

aliases: update grep pattern in 'chromekill' alias. #911

Closed TommyStarK closed 1 year ago

TommyStarK commented 4 years ago

It seems that the alias was no longer working with Google Chrome Version 79.0.3945.130 (Official Build) (64-bit) on my macOS Catalina version 10.15.2. Adding '(Renderer)' to the grep pattern when searching for Google Chrome among the running processes, solves the problem.

chdiza commented 4 years ago

I also see the need for (GPU) to be looked for in addition to (Renderer).

TommyStarK commented 4 years ago

I have a very limited understanding of how Chrome works but from what I see in the alias made by Mathias, the search pattern for grep is looking for a process with --type=renderer.

I am not sure of what will be the impact of adding (GPU) in addition to (Renderer) because it seems to me that this is different process.

Screenshot 2020-02-01 at 13 19 47