There we go
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Install some programs
|
# Install some programs
|
||||||
echo "## Installing programs"
|
echo "## Installing programs"
|
||||||
sleep 2
|
sleep 1
|
||||||
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
|
||||||
@@ -15,17 +15,14 @@ wget -O /tmp/zx_customconfig.fish https://code.strandbo.no/morten/Initial_linux_
|
|||||||
|
|
||||||
# Move them about and rub
|
# Move them about and rub
|
||||||
echo "## Placing files and rubbing 'em"
|
echo "## Placing files and rubbing 'em"
|
||||||
|
# Global stuff
|
||||||
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
|
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 sed -i '1,3d' /etc/profile.d/02-zx_customaliases.sh
|
||||||
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
|
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
|
||||||
sudo chown root:root /etc/fish/conf.d/zx_customaliases.sh
|
sudo chown root:root /etc/fish/conf.d/zx_customconfig.fish
|
||||||
sudo rm /tmp/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 "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
|
||||||
|
|
||||||
# Enter fish
|
echo "## All set up! Time to change shell ##"
|
||||||
fish
|
|
||||||
|
|
||||||
# Show full path in prompt - doesn't work
|
|
||||||
set -U fish_prompt_pwd_dir_length 0
|
|
||||||
|
|
||||||
echo "## It's done! ##"
|
|
||||||
Reference in New Issue
Block a user