Update README.md

This commit is contained in:
Luke Stephens (hakluke) 2019-09-26 03:24:21 +10:00 committed by GitHub
parent cacaa063f2
commit db353a8ef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ Credit: @tomnomnom
```
## The ps-less way using status files
Credit: @hakluke
```
:!find /proc -name status | while read file; do echo "$file: "; cat $file | grep vim; done | grep -B1 vim | grep -v Name | while read line; do sed 's/^\/proc\///g' | sed 's/\/.*//g'; done | xargs kill -9