Merge pull request #1 from PozziSan/PozziSan-lazy-python-way

Add Lazy Pythonic Way
This commit is contained in:
Pedro Pozzi Ferreira 2020-01-10 21:12:48 -03:00 committed by GitHub
commit 483fc60c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,13 @@ Credit: @kpumuk
:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9
```
## The lazy pythonic using shell way
Credit: @PozziSan
```bash
python -c "from os import system; system('killall -9 vim')"
````
## The pythonic way
Credit: @hakluke