Moar
This commit is contained in:
@@ -6,12 +6,14 @@ sleep 1
|
||||
sudo apt-get update
|
||||
sudo apt-get install nala -y
|
||||
# Switch to nala
|
||||
sudo nala install exa fish -y
|
||||
sudo nala install exa fish neofetch -y
|
||||
|
||||
# Get some custom configs
|
||||
echo "## Downloading configs"
|
||||
sleep 1
|
||||
wget -O /tmp/zx_customconfig.fish https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/zx_customconfig.fish
|
||||
wget -O /tmp/config.conf https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/config.conf
|
||||
wget -O /tmp/st_combadge.ascii https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/st_combadge.ascii
|
||||
|
||||
# Move them about and rub
|
||||
echo "## Placing files and rubbing 'em"
|
||||
@@ -20,9 +22,13 @@ sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
|
||||
sudo sed -i '1,3d' /etc/profile.d/02-zx_customaliases.sh
|
||||
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
|
||||
sudo chown root:root /etc/fish/conf.d/zx_customconfig.fish
|
||||
# User stuff
|
||||
#echo "SETUVAR fish_prompt_pwd_dir_length:0" >> ~/.config/fish/fish_variables # Doesn't work, file does not exist yet.
|
||||
echo "Remember to run this" >> ~/setup_finished
|
||||
echo "set -U fish_prompt_pwd_dir_length 0" >> ~/setup_finished
|
||||
if [[ ! -d /etc/neofetch/ ]]; then
|
||||
echo "## Creating neofetch config directory"
|
||||
sudo mkdir -p /etc/neofetch/ascii/
|
||||
fi
|
||||
sudo cp /tmp/st_combadge.ascii /etc/neofetch/ascii/
|
||||
sudo cp /tmp/config.conf /etc/neofetch/config.conf
|
||||
echo "## Disabling default motd"
|
||||
sudo chmod -x /etc/update-motd.d/
|
||||
|
||||
echo "## All set up! Time to change shell ##"
|
||||
Reference in New Issue
Block a user