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"