Update fish deps, fix deb install
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user