💥 add newest fish gpg
This commit is contained in:
parent
013c0604d5
commit
4bb94461aa
1 changed files with 11 additions and 14 deletions
|
|
@ -1,26 +1,23 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# fish version on ubuntu 22.04
|
||||
# FISH_VERSION=3.3.1+ds-3
|
||||
# probably works on ubuntu 20.04 but couldn't be found in codespaces apt
|
||||
# FISH_VERSION=3.1.0-1.2
|
||||
# fish version on ubuntu 20.04 (codespaces ubuntu version)
|
||||
# TODO: add if statement to make github workflows test to succeed
|
||||
FISH_VERSION=3.1.2-3+deb11u1
|
||||
|
||||
# I'd like to use fish, please
|
||||
echo >&2 "====================================================================="
|
||||
echo >&2 " >> apt updating"
|
||||
sudo apt update
|
||||
echo >&2 " >> installing fish"
|
||||
sudo apt-get install -y fish=${FISH_VERSION}
|
||||
|
||||
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/ /' | \
|
||||
sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list
|
||||
|
||||
curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_12/Release.key | \
|
||||
gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y fish
|
||||
|
||||
echo >&2 " >>> changing shell to fish"
|
||||
sudo chsh -s /usr/bin/fish $USER
|
||||
|
||||
echo >&2 " >>> link config.fish from dotfiles"
|
||||
mkdir -p ~/.config/fish
|
||||
ln -s -f /tmp/dotfiles/.config/fish/config.fish ~/.config/fish/config.fish
|
||||
# mkdir -p ~/.config/fish
|
||||
# ln -s -f /tmp/dotfiles/.config/fish/config.fish ~/.config/fish/config.fish
|
||||
|
||||
echo >&2 " >>> echo $0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue