Add install.sh

This commit is contained in:
2025-12-22 19:55:11 +01:00
parent a9f9d3b84b
commit 88f52bda1e

28
install.sh Normal file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
echo "Creating .bashrc backup"
cp ~/.bashrc ~/.bashrc_backup
echo "Adding aliases and zoxide to bashrc"
echo "alias ls='lsd -a --tree --depth 1'" >> ~./bashrc
echo "alias cat='batcat'" >> ~./bashrc
echo "alias up='docker-compose up -d'" >> ~./bashrc
echo "alias down='docker-compose down'" >> ~./bashrc
echo "alias logs='docker logs -f'" >> ~./bashrc
echo "eval \"$(zoxide init bash)\"" >> ~./bashrc
echo "alias cd='z' " >> ~./bashrc
echo "alias ff='fastfetch'" >> ~./bashrc
echo "Creating Kitty config folders"
mkdir -p ~/.config/kitty
if [ -e ~/.config/kitty/kitty.conf ]
then
echo "Kitty config file exists, creating backup"
cp ~/.config/kitty/kitty_backup.conf
else
fi