aboutsummaryrefslogtreecommitdiff
path: root/shell_only.sh
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-10-31 21:58:03 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-10-31 21:58:03 +0100
commit06caac05b6a12978475375cfbc43e7d8cbbf6c7a (patch)
tree44ed0f52c5106390c87559ae03a1c654a7666d6d /shell_only.sh
parent5e37bece5f9d46aecf8e870d93da0abd6c438e80 (diff)
fix paru installation
Diffstat (limited to 'shell_only.sh')
-rwxr-xr-xshell_only.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/shell_only.sh b/shell_only.sh
index a30aea7..cfa6ee5 100755
--- a/shell_only.sh
+++ b/shell_only.sh
@@ -43,6 +43,9 @@ if [ ${UID} -ne 0 ]; then
fi
fi
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
+source ~/.cargo/env
+
if command_exists pacman; then
${SUDO} pacman -Sy --noconfirm --needed \
bat \
@@ -60,8 +63,9 @@ if command_exists pacman; then
vim \
neofetch \
fzf \
- openssh \
- paru
+ openssh
+
+ cargo install paru
mkdir -p ~/.config/paru/
cat <<EOT > ~/.config/paru/paru.conf
@@ -112,9 +116,6 @@ ln -sf ${PWD}/vimrc ~/.vimrc
mkdir -p ~/.oh-my-zsh/
ln -sf ${PWD}/himbeer.zsh-theme ~/.oh-my-zsh/themes/himbeer.zsh-theme
-curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
-source ~/.cargo/env
-
if called_directly; then
echo -e "\e[1m\e[1;32mShell setup has been successfully installed!"
echo -e "\e[1m\e[1;32mIf you wish to make zsh your default shell:"