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