refractor(script): rennomage
This commit is contained in:
@@ -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
|
|
||||||
Reference in New Issue
Block a user