43 lines
1.5 KiB
Bash
Executable File
43 lines
1.5 KiB
Bash
Executable File
#! /bin/bash
|
|
#--------------------------------------------
|
|
# Script autoinstallation et configuration Ubuntu
|
|
#--------------------------------------------
|
|
|
|
#Installation NALA
|
|
curl https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh | bash
|
|
|
|
#Installation Flatpak
|
|
add-apt-repository ppa:flatpak/stable
|
|
apt update
|
|
apt install flatpak -y
|
|
apt install gnome-software-plugin-flatpak
|
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
#Installation Packages Flatpak
|
|
|
|
|
|
#Installation Packages
|
|
nala install zsh -y
|
|
|
|
#Installation Mainline
|
|
add-apt-repository ppa:cappelikan/ppa
|
|
nala install mainline -y
|
|
|
|
#Configuration zsh+plugins
|
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
|
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
|
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
|
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
|
|
echo "source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
|
|
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
|
|
bash <(curl https://raw.githubusercontent.com/atuinsh/atuin/main/install.sh)
|
|
zsh
|
|
|
|
|
|
#Configuration megacommande maj"
|
|
echo "maj='nala full-upgrade && flatpak upgrade && mainline install-latest && update-grub'" > ~/;zshrc
|
|
|
|
|
|
#Reboot
|
|
# -> A ajouter un reboot a la finl |