Files
Initial_linux_setup/initial_setup.sh
2023-11-28 14:33:20 +01:00

18 lines
568 B
Bash

#!/bin/bash
# Install some programs
sudo apt-get update
sudo apt-get install nala --force-yes
# Switch to nala
sudo nala install exa fish --force-yes
# Get some custom configs
wget -O /tmp/zx_customconfig.fish https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/zx_customconfig.fish
# Move them about
/bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
sed -e '1,3d' < /etc/profile.d/02-zx_customaliases.sh
/bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
# Show full path in prompt
set -U fish_prompt_pwd_dir_length 0