-
Notifications
You must be signed in to change notification settings - Fork 0
/
debian-setup.sh
37 lines (24 loc) · 1.3 KB
/
debian-setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
apt install sudo # Don't come at me, I cba to go through all the setup and remove sudo lol
sudo apt update -qq && sudo apt upgrade -y
sudo apt install software-properties-common curl apt-transport-https ca-certificates gnupg wget git tar unzip -y
#curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1
# echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list 2>&1
# curl -fsSL https://packages.sury.org/php/apt.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg 2>&1
#display_tech_fact
#curl -sSL https://get.docker.com/ | CHANNEL=stable bash >/dev/null 2>&1
wget https://github.com/fastfetch-cli/fastfetch/releases/download/2.21.1/fastfetch-linux-amd64.deb
dpkg -i fastfetch-linux-amd64.deb
rm fastfetch-linux-amd64.deb
sudo apt autoremove -y -qq
sudo apt clean -y -qq
curl -sS https://starship.rs/install.sh | sudo sh -s -- -y >/dev/null 2>&1
git clone https://github.com/Kustys/my-bash-files
rm -f ~/.bashrc ~/.bash_aliases
ln -s ~/my-bash-files/.bashrc ~/.bashrc
ln -s ~/my-bash-files/.bash_aliases ~/.bash_aliases
mkdir -p ~/.config
rm -f ~/.config/starship.toml
ln -s ~/my-bash-files/starship.toml ~/.config/starship.toml
# Restart bash session
exec bash