Commit d64ec423 authored by Ralf Matthes's avatar Ralf Matthes
Browse files

Add new file

parent a1baa6bd
#!/bin/bash
# sources.list and install dependencys
echo "deb http://deb.debian.org/debian/ stable main contrib non-free" > /etc/sources.list
echo "deb-src http://deb.debian.org/debian/ stable main contrib non-free" >> /etc/sources.list
echo "" >> /etc/sources.list
echo "deb http://deb.debian.org/debian/ stable-updates main contrib non-free" >> /etc/sources.list
echo "deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free" >> /etc/sources.list
echo "" >> /etc/sources.list
echo "deb http://deb.debian.org/debian-security stable/updates main" >> /etc/sources.list
echo "deb-src http://deb.debian.org/debian-security stable/updates main" >> /etc/sources.list
apt update
apt install -y git curl wget unzip
# install oh-my-bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
# rmw (rm with trash)
wget https://github.com/theimpossibleastronaut/rmw/releases/download/v0.8.0/rmw_0.8.0_amd64.deb
dpkg -i *.deb
rm -rfv *.deb
# bat (cat clone but fancy)
wget https://github.com/sharkdp/bat/releases/download/v0.18.1/bat-musl_0.18.1_amd64.deb
dpkg -i *.deb
rm -rfv *.deb
# exa (ls alternative)
wget https://github.com/ogham/exa/releases/download/v0.10.1/exa-linux-x86_64-musl-v0.10.1.zip
unzip exa-linux-x86_64-musl-v0.10.1.zip
mv bin/exa /usr/local/bin/exa
rm -rfv bin completions man
# intigrate in bashrc
echo 'alias rm="rmw"' >> .bashrc
echo 'alias cat="bat"' >> .bashrc
echo 'alias ls="exa -1 -l"' >> .bashrc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment