added starship fish for debian

This commit is contained in:
Raven Scott 2022-07-26 13:37:32 -04:00
parent 0e3889bb38
commit c5a2692f03
7 changed files with 61 additions and 19 deletions

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux x64, We
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_amd64.deb wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_amd64.deb
notif "Installing Code-Server 4.5.0 using DPKG" notif "Installing Code-Server 4.5.0 using DPKG"
dpkg -i code-server_4.5.0_amd64.deb dpkg -i code-server_4.5.1_amd64.deb
rm -f code-server_4.5.0_amd64.deb rm -f code-server_4.5.1_amd64.deb
notif "Downloading our configurations" notif "Downloading our configurations"

8
debian/code-server vendored
View File

@ -18,13 +18,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG" notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations" notif "Downloading our configurations"

40
debian/starship-fish vendored Normal file
View File

@ -0,0 +1,40 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
mkdir -vp ~/.config
mkdir -vp ~/.config/fish
sudo apt install fish -y
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"
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
echo "done!"
echo 'eval "$(starship init bash)"' >> ~/.bashrc
wget -O ~/.config/fish/config.fish https://paste.discord-linux.com/10390186724203
usermod --shell /usr/bin/fish root
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux x64, We
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_amd64.deb wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_amd64.deb
notif "Installing Code-Server 4.5.0 using DPKG" notif "Installing Code-Server 4.5.0 using DPKG"
dpkg -i code-server_4.5.0_amd64.deb dpkg -i code-server_4.5.1_amd64.deb
rm -f code-server_4.5.0_amd64.deb rm -f code-server_4.5.1_amd64.deb
notif "Downloading our configurations" notif "Downloading our configurations"

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb wget -q https://github.com/coder/code-server/releases/download/v4.5.1/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG" notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations" notif "Downloading our configurations"

View File

@ -20,13 +20,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG" notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations" notif "Downloading our configurations"

View File

@ -1,14 +1,16 @@
#!/bin/bash 0#!/bin/bash
echo "Welcome to the secuNotify security system installer" echo "Welcome to the secuNotify security system installer"
echo "This will install the secuNotify security system service for systemd" echo "This will install the secuNotify security system service for systemd"
wget -q -O - https://ssh.surf/notify | bash wget -q -O - https://ssh.surf/notify | bash
notif "Welcome to the secuNotify security system installer, We are preparing your installation..." notif "Welcome to the secuNotify security system installer, We are preparing your installation..."
sleep 2 sleep 2
apt update apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
DEBIAN_FRONTEND=noninteractive apt-get -y install rsyslog DEBIAN_FRONTEND=noninteractive apt-get -y install rsyslog
notif "We have installed rsyslog restarting requrired services" notif "We have installed rsyslog restarting requrired services"
sh /var/tools/getsystemctl.sh
sleep 2 sleep 2
service ssh stop service ssh stop
sleep 2 sleep 2