refractor(script): rennomage

This commit is contained in:
Anael Ginder
2023-05-04 10:42:06 +02:00
parent 14465575dc
commit 044774bfc4
-31
View File
@@ -1,31 +0,0 @@
#!/bin/bash
set -eu
#Install dep
echo '[*] Install apt requierements ...'
sudo apt -y install apt-transport-https curl gnupg stow zsh
echo '[*] Making all installation script executable ... and execute it !'
chmod +x *.sh
# test if rust is installed
if ! [ -x "$(command -v cargo)" ]; then
echo 'Error: cargo is not installed.'
echo '[*] Install rust ...'
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
fi
# Rust cool stuff
echo '[*] Install zellij'
cargo install zellij
echo '[*] Removing default configurations ...'
rm -rf ~/.config/zellij
echo '[*] Creating plugin directory'
mkdir ~/.config/zellij
echo '[*] Stowing/Creating simlinks for zellij'
cd ../dotfiles && stow -vSt ~/.config/zellij zellij && cd ../install