Fix YAML format in vi
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
functions:
|
||||
shell:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
file-write:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
@@ -13,9 +13,9 @@ functions:
|
||||
file-read:
|
||||
- code: rvim file_to_read
|
||||
suid:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
sudo:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user