From ed26ece5fd7867706a1086c554a139bd271fdb47 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 8 Jan 2023 10:40:46 -0500 Subject: [PATCH] Auto Update --- setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 0c898d8..e2934ad 100644 --- a/setup.sh +++ b/setup.sh @@ -14,4 +14,10 @@ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[0 EOF ln ./nanorc /etc/nanorc -echo "Install fzf pls" + +if [ "$1" != null ] ; then + rm /etc/sudoers.d/user + echo "$1 ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user +fi + +echo "Install fzf, log out and log back in"