Merge pull request #90 from Rynaro/rubist-way
Add Rubist using shell way
This commit is contained in:
commit
4a1a0882ac
14
README.md
14
README.md
|
|
@ -46,6 +46,20 @@ Credit: @wodny
|
|||
3. Run `rim`.
|
||||
4. Exit `rim` using a borrowed command, ie. `:q!`.
|
||||
|
||||
## The lazy rubist using shell way
|
||||
Credit: @rynaro
|
||||
|
||||
```bash
|
||||
$ ruby -e 'system("killall -9 vim")'
|
||||
```
|
||||
|
||||
## The rubist way
|
||||
Credit: @rynaro
|
||||
|
||||
```bash
|
||||
$ ruby -e 'pid = `pidof vim`; Process.kill(9, pid.to_i)'
|
||||
```
|
||||
|
||||
## The Colon-less way
|
||||
Credit: @w181496
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue