forked from snxraven/autoinstallers
Starting the conversion for x64 installers, all images are updated to support this.
This commit is contained in:
33
ubuntu-x64/starship
Normal file
33
ubuntu-x64/starship
Normal file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
|
||||
echo "We will install and configure Starship for you automatically."
|
||||
|
||||
sleep 2
|
||||
|
||||
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
|
||||
|
||||
chmod +x /var/tools/starship_installer.sh
|
||||
|
||||
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
|
||||
|
||||
#/bin/bash
|
||||
# install DroidSansMono Nerd Font --> u can choose another at: https://www.nerdfonts.com/font-downloads
|
||||
apt install zip unzip -y
|
||||
echo "[-] Download fonts [-]"
|
||||
echo "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
|
||||
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
|
||||
mkdir ~/.fonts -vp
|
||||
unzip -ao FiraCode.zip -d ~/.fonts
|
||||
rm -vf FiraCode.zip
|
||||
sudo apt install fontconfig -y
|
||||
fc-cache -fv
|
||||
|
||||
echo "downloading preconfigured style"
|
||||
mkdir -vp ~/.config
|
||||
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
|
||||
echo "done!"
|
||||
|
||||
echo 'eval "$(starship init bash)"' >> ~/.bashrc
|
||||
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
echo "Please close the SSH Session and reconnect! "
|
Reference in New Issue
Block a user