DaveDavenport/rofi — pull request #53 by endir (2014-05-30 13:05:58+00:00)
Title: Prevent pkill commands from ranking high

Thank you for the nice working on this project. I redo a pull because i messed up with github a little bit. Let me explain what i changed: I use rofi many times to kill programs, thus many times the pkill commands gets higher ranked than the original command. For example if i kill linphone too many times with rofi it is higher than the linphone command. I find this inconvenient. I think these should be in the cache history but not rank high. For this reason I created a simple modification of your source. what it does is it checks if pkill is in the command to be run and if so it puts index =1.