From bdcf297800229e8e3d665c655b9032b523a647ac Mon Sep 17 00:00:00 2001 From: aartoni Date: Sun, 21 Aug 2022 19:50:02 +0200 Subject: [PATCH] Set default visudo editor --- larbs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/larbs.sh b/larbs.sh index c7e5e58..04bf1c0 100755 --- a/larbs.sh +++ b/larbs.sh @@ -308,6 +308,7 @@ EndSection' >/etc/X11/xorg.conf.d/40-libinput.conf # (like `shutdown` to run without password). echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-larbs-wheel-can-sudo echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm" >/etc/sudoers.d/01-larbs-cmds-without-password +echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-larbs-visudo-editor # Last message! Install complete! finalize