meh
This commit is contained in:
@@ -15,17 +15,17 @@ 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"
|
||||||
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/fish/conf.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_customaliases.sh
|
||||||
sudo rm /tmp/zx_customconfig.fish
|
sudo rm /tmp/zx_customconfig.fish
|
||||||
echo "SETUVAR fish_prompt_pwd_dir_length:0" >> ~/.config/fish/fish_variables
|
echo "SETUVAR fish_prompt_pwd_dir_length:0" >> ~/.config/fish/fish_variables # Doesn't work, file does not exist yet.
|
||||||
|
|
||||||
# Enter fish
|
# Enter fish
|
||||||
fish
|
fish
|
||||||
|
|
||||||
# Show full path in prompt
|
# Show full path in prompt - doesn't work
|
||||||
set -U fish_prompt_pwd_dir_length 0
|
set -U fish_prompt_pwd_dir_length 0
|
||||||
|
|
||||||
echo "## It's done! ##"
|
echo "## It's done! ##"
|
||||||
Reference in New Issue
Block a user