diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-20 16:48:34 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-20 16:48:34 +0200 |
commit | 5aa35c24dc0e3594ad5819cce521ec7d00220b0a (patch) | |
tree | 5efe51da056de21309523bf86bae5f51effa156b /shell_only.sh | |
parent | 28adb78a60c7f57d0d4d37cff1ed94749b61ad14 (diff) |
pacman based: install paru and configure its sudo
Diffstat (limited to 'shell_only.sh')
-rwxr-xr-x | shell_only.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell_only.sh b/shell_only.sh index 473934c..95b7d80 100755 --- a/shell_only.sh +++ b/shell_only.sh @@ -61,7 +61,8 @@ if command_exists pacman; then vim \ neofetch \ fzf \ - openssh + openssh \ + paru mkdir -p ~/aur/ @@ -108,6 +109,12 @@ ln -sf ${PWD}/vimrc ~/.vimrc mkdir -p ~/.oh-my-zsh/ ln -sf ${PWD}/himbeer.zsh-theme ~/.oh-my-zsh/themes/himbeer.zsh-theme +mkdir -p ~/.config/paru/ +cat <<EOT > ~/.config/paru/paru.conf +[bin] +Sudo = $(which ${SUDO}) +EOT + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source ~/.cargo/env |