From f9f9d2ade239089eca310ec615ddfc4b75b9c577 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Wed, 13 Jul 2022 11:12:00 +0200 Subject: [PATCH] Don't use swap file for rvim --- zsh/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index cceaebb..31a66de 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -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' \