From 6cbf6af44ebf282acc5ccf81562e58ae10eb03c8 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Sun, 17 Nov 2024 14:31:26 +0500 Subject: [PATCH] Fix stuff --- README.md | 8 ++--- ...-commands-after.bash => user_commands.bash | 7 +++- user_commands.bash.1 | 35 +++++++++++++++++++ user_pkglist.txt | 2 +- user_pkglist.txt.1 | 13 +++++++ 5 files changed, 59 insertions(+), 6 deletions(-) rename user-commands-after.bash => user_commands.bash (77%) create mode 100644 user_commands.bash.1 create mode 100644 user_pkglist.txt.1 diff --git a/README.md b/README.md index 0aecd28..a09c6cc 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ## Instructions Run these commands before installation: -```sh - curl -fsSL -o ~/user_pkglist.txt https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_pkglist.txt - curl -fsSL -o ~/user-commands-after.bash https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user-commands-after.bash - chmod +x ~/user-commands-after.bash +``` sh +wget -qO ~/user_pkglist.txt https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_pkglist.txt +wget -qO ~/user_commands.bash https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_commands.bash +chmod +x ~/user_commands.bash ``` diff --git a/user-commands-after.bash b/user_commands.bash similarity index 77% rename from user-commands-after.bash rename to user_commands.bash index 2f727a7..3401367 100644 --- a/user-commands-after.bash +++ b/user_commands.bash @@ -5,7 +5,7 @@ USER_HOME=$(getent passwd "$USER" | cut -d: -f6) echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" | EDITOR='tee -a' visudo -systemctl enable --now docker.service +systemctl enable docker.service usermod -aG docker "$USER" usermod --shell /usr/bin/zsh "$USER" @@ -16,15 +16,20 @@ su - "$USER" <