diff --git a/initial_setup.sh b/initial_setup.sh index 7200136..8d098cc 100644 --- a/initial_setup.sh +++ b/initial_setup.sh @@ -2,17 +2,18 @@ # Install some programs sudo apt-get update -sudo apt-get install nala --force-yes +sudo apt-get install nala -y # Switch to nala -sudo nala install exa fish --force-yes +sudo nala install exa fish -y # 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/ +sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh +sudo sed -e '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/02-zx_customaliases.sh # Show full path in prompt set -U fish_prompt_pwd_dir_length 0 \ No newline at end of file