Open MSSRPRAD opened 6 months ago
It looks like you can fix this by upgrading to the latest version of Fish.
It looks like you can fix this by upgrading to the latest version of Fish.
@jorgebucaran Issue is there even with fish, version 3.6.4
.
[I] mpradyumna@pop-os ~> fish --version
fish, version 3.6.4
[I] mpradyumna@pop-os ~> curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
fisher install version 4.4.4
/usr/bin/fish (deleted): command not found
- (line 85):
$fish_path --command "
if test -e $plugin
command cp -Rf $plugin/* $source
else
set temp (command mktemp -d)
set repo (string split -- \@ $plugin) || set repo[2] HEAD
if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1])
set name (string split -- / \$path)[-1]
set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz
else
set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2]
end
echo Fetching (set_color --underline)\$url(set_color normal)
if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
command cp -Rf \$temp/*/* $source
else
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2
command rm -rf $source
end
command rm -rf \$temp
end
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files
" &
^
in function 'fisher' with arguments 'install jorgebucaran/fisher'
Installing jorgebucaran/fisher
Updated 1 plugin/s
[I] mpradyumna@pop-os ~> fisher install IlanCosman/tide@v6
fisher install version 4.4.4
/usr/bin/fish (deleted): command not found
- (line 85):
$fish_path --command "
if test -e $plugin
command cp -Rf $plugin/* $source
else
set temp (command mktemp -d)
set repo (string split -- \@ $plugin) || set repo[2] HEAD
if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1])
set name (string split -- / \$path)[-1]
set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz
else
set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2]
end
echo Fetching (set_color --underline)\$url(set_color normal)
if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
command cp -Rf \$temp/*/* $source
else
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2
command rm -rf $source
end
command rm -rf \$temp
end
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files
" &
^
in function 'fisher' with arguments 'install IlanCosman/tide@v6'
Installing ilancosman/tide@v6
Updated 1 plugin/s
I had the same issue after:
fisher remove IlanCosman/tide
fisher install IlanCosman/tide@v5
Apparently I was using an older version of fish
provided by the Ubuntu 22 PPA. I added the official Fish PPA and reinstalled tide
as suggested above.
fisher remove IlanCosman/tide@v5
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt install -y fish
Then I restarted the terminal, and installed tide
again.
fisher install IlanCosman/tide@v5
I'm now using version 3.7.0 of fish and the issue is gone. :smile:
https://github.com/IlanCosman/tide/wiki/Fish-version-compatibility
Clearly says fish version 3.6 should be compatible with the current tide version which it apparently isn't.
Same issue on debian sid.
Describe the bug
Trying to install tide breaks fish terminal. To repair I have to delete
~/.config/fish
.Steps to reproduce
sudo apt install fish
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functi ons/fisher.fish | source && fisher install jorgebucaran/fisher
fisher install IlanCosman/tide@v6
Screenshots
Environment
Output of
tide bug-report
:Additional context
None