upgrade fish shell repos from 3.x to 4.x for Ubuntu and Debian
Fish 4.x is needed for puffer-fish plugin compatibility (commandline --search-field). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
948d862bb6
commit
3a429fa4b7
@ -370,13 +370,13 @@ fi
|
||||
new_line "Subscribe to PPA for fish"
|
||||
## Setup fish repo in debian
|
||||
VERS={{ .chezmoi.osRelease.versionID }}
|
||||
echo "deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_$VERS/ /" | $SUDO tee /etc/apt/sources.list.d/shells:fish:release:3.list 2>/dev/null
|
||||
curl -fsSL "https://download.opensuse.org/repositories/shells:fish:release:3/Debian_$VERS/Release.key" | gpg --dearmor | $SUDO tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null
|
||||
echo "deb http://download.opensuse.org/repositories/shells:/fish:/release:/4/Debian_$VERS/ /" | $SUDO tee /etc/apt/sources.list.d/shells:fish:release:4.list 2>/dev/null
|
||||
curl -fsSL "https://download.opensuse.org/repositories/shells:fish:release:4/Debian_$VERS/Release.key" | gpg --dearmor | $SUDO tee /etc/apt/trusted.gpg.d/shells_fish_release_4.gpg > /dev/null
|
||||
|
||||
{{ else -}}
|
||||
new_line "Subscribe to PPA for fish"
|
||||
## Setup fish repo in ubuntu
|
||||
$SUDO apt-add-repository ppa:fish-shell/release-3 -y 2>&1|pad
|
||||
$SUDO apt-add-repository ppa:fish-shell/release-4 -y 2>&1|pad
|
||||
|
||||
new_line "Subscribe to PPA for neovim"
|
||||
## Neovim ppa
|
||||
|
||||
Loading…
Reference in New Issue
Block a user