v1.2 - small additions

This commit is contained in:
2024-01-12 09:34:51 +01:00
parent a6f3f8385e
commit 4351cf36f7
2 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
#
# v1.2 - Changed an alias
# v1.1 - Added sudo function
# Install some programs
@@ -8,7 +9,10 @@ sleep 1
sudo apt-get update
sudo apt-get install nala -y
# Switch to nala
sudo nala install exa fish neofetch -y
sudo nala install exa fish neofetch ncdu duf tldr -y
# Update tldr
echo "## Updating tldr"
tldr -u
# Get some custom configs
echo "## Downloading configs"
@@ -24,6 +28,7 @@ echo "## Placing files and rubbing 'em"
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
sudo sed -i '1,9d' /etc/profile.d/02-zx_customaliases.sh
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
sudo /bin/mv -f /tmp/sudo.fish /etc/fish/functions/
sudo chown root:root /etc/fish/conf.d/zx_customconfig.fish
if [[ ! -d /etc/neofetch/ ]]; then
echo "## Creating neofetch config directory"