Now!
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
# Initial_linux_setup
|
# Initial_linux_setup
|
||||||
|
|
||||||
|
bash <(curl -s https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/initial_setup.sh)
|
||||||
@@ -1,19 +1,28 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Install some programs
|
# Install some programs
|
||||||
|
echo "## Installing programs"
|
||||||
|
sleep 2
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install nala -y
|
sudo apt-get install nala -y
|
||||||
# Switch to nala
|
# Switch to nala
|
||||||
sudo nala install exa fish -y
|
sudo nala install exa fish -y
|
||||||
|
|
||||||
# Get some custom configs
|
# 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/zx_customconfig.fish https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/zx_customconfig.fish
|
||||||
|
|
||||||
# Move them about
|
# Move them about
|
||||||
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
|
echo "## Placing files and rubbing 'em"
|
||||||
sudo sed -e '1,3d' < /etc/profile.d/02-zx_customaliases.sh
|
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh /etc/fish/conf.d/
|
||||||
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
|
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/02-zx_customaliases.sh
|
sudo chown root:root /etc/fish/conf.d/02-zx_customaliases.sh
|
||||||
|
|
||||||
|
# Enter fish
|
||||||
|
fish
|
||||||
# Show full path in prompt
|
# Show full path in prompt
|
||||||
set -U fish_prompt_pwd_dir_length 0
|
set -U fish_prompt_pwd_dir_length 0
|
||||||
|
|
||||||
|
echo "## It's done! ##"
|
||||||
Reference in New Issue
Block a user