Update fish deps, fix deb install

This commit is contained in:
Andrejus
2021-01-22 18:38:42 +00:00
parent d87184c0c1
commit e0ad8e2a46
8 changed files with 32 additions and 28 deletions

View File

@@ -17,7 +17,7 @@ if ! [ -f "$fisher_location" ]; then
curl https://git.io/fisher --create-dirs -sLo "$fisher_location"
fi
echo "fisher is installed, updating..."
`fish -c "fisher"`;
fish -c "fisher update";
fish -c "fisher --version"
@@ -25,10 +25,12 @@ if not_installed "fishlogin"; then
echo "setting up fishlogin..."
mkdir -p ~/bin
target="$HOME/bin/fishlogin"
tee -a $target << END
#!/bin/bash
exec -l fish "\$@"
END
sudo chmod +x $target
echo $target | sudo tee -a /etc/shells
sudo usermod -s $target $USER