Skip to content

Commit ed2beae

Browse files
authored
Merge pull request hakluke#146 from PozziSan/master
Lazy Pythonic Way
2 parents 09f3387 + 483fc60 commit ed2beae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ Credit: @kpumuk
3333
:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9
3434
```
3535

36+
## The lazy pythonic using shell way
37+
Credit: @PozziSan
38+
39+
```bash
40+
python -c "from os import system; system('killall -9 vim')"
41+
````
42+
3643
## The pythonic way
3744
Credit: @hakluke
3845

0 commit comments

Comments
 (0)