Update README.md

This commit is contained in:
Michael Skelton 2020-06-28 17:50:47 +10:00 committed by GitHub
parent 995441cd2a
commit 02bc51283c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ Credit: @tomnomnom
:!kill -9 $(find /proc -name "cmdline" 2>/dev/null | while read procfile; do if grep -Pa '^vim\x00' "$procfile" &>/dev/null; then echo $procfile; fi; done | awk -F'/' '{print $3}' | sort -u)
```
## The ps-less way using status files
Credit: @hakluke
@ -33,6 +34,10 @@ Credit: @kpumuk
:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9
```
## The first contact way
Credit: @caseyjohnellis
![Jeffrey Way](assets/first-contact-way.png)
## The lazy pythonic using shell way
Credit: @PozziSan