mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-06-18 02:21:54 +02:00
Update README.md
This commit is contained in:
parent
cacaa063f2
commit
db353a8ef4
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ Credit: @tomnomnom
|
||||||
```
|
```
|
||||||
|
|
||||||
## The ps-less way using status files
|
## 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
|
:!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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue