Don't use swap file for rvim
This commit is contained in:
parent
eb15ef3302
commit
f9f9d2ade2
|
@ -21,7 +21,7 @@ doasedit() {
|
|||
doas -L
|
||||
doas -u root sh -c \
|
||||
"cp /etc/doas.conf /tmp/doas.conf \
|
||||
&& rvim /tmp/doas.conf \
|
||||
&& rvim -n /tmp/doas.conf \
|
||||
&& doas -C /tmp/doas.conf \
|
||||
&& mv /tmp/doas.conf /etc/doas.conf \
|
||||
&& echo 'ok' \
|
||||
|
|
Loading…
Reference in a new issue