Closer..
This commit is contained in:
@@ -13,13 +13,14 @@ 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
|
||||
|
||||
# Move them about
|
||||
# Move them about and rub
|
||||
echo "## Placing files and rubbing 'em"
|
||||
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
|
||||
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/fish/conf.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/02-zx_customaliases.sh
|
||||
sudo chown root:root /etc/fish/conf.d/zx_customaliases.sh
|
||||
sudo rm /tmp/zx_customconfig.fish
|
||||
echo "SETUVAR fish_prompt_pwd_dir_length:0" >> ~/.config/fish/fish_variables
|
||||
|
||||
# Enter fish
|
||||
fish
|
||||
|
||||
Reference in New Issue
Block a user