Closed eliax1996 closed 2 years ago
What version of Fish are you on? Do you have a .curlrc
or is your curl configured unusually?
I see exactly the same. Fish 3.3.1 installed with Homebrew on MacOS Monterey. No custom Curl configuration. curl
and wget
work fine.
Think you can create a Docker image where we can reproduce the problem?
Works for me. Fish 3.3.1 installed with brew on macOS Monterey, M1 chip.
Ok, I built a docker image and all seems be working:
# syntax=docker/dockerfile:1
FROM homebrew/brew
SHELL ["/bin/bash", "-c"]
RUN brew install fish
SHELL ["/home/linuxbrew/.linuxbrew/bin/fish", "-c"]
RUN curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
WORKDIR /
CMD ["bash"]
if you save it as Dockerfile
and then you write: docker image build . -t my-image && docker run -it my-image /home/linuxbrew/.linuxbrew/bin/fish
all seems be working
Another hint is the following, if I try to exit from the fish session the shell print the following:
There are still jobs active:
PID Command
39688 fish --command "
if test -e $plugin
command cp -Rf $plugin/* $source
else
set temp (command mktemp -d)
set name (string split \@ $plugin) || set name[2] HEAD
set url https://codeload.github.com/\$name[1]/tar.gz/\$name[2]
echo Fetching (set_color --underline)\$url(set_color normal)
if curl --silent \$url | 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
" &
A second attempt to exit will terminate them.
Use 'disown PID' to remove jobs from the list without terminating them.
So, it's working as expected inside the container.
Yes, but I cannot understand what doesn't work in my machine
Let's have a look at your config.fish
. Can you copy-paste it here? Perhaps something in it causes Fisher to block.
I don't think can be that, but here's my config file:
set -x LANG en_US.UTF-8
[ -f /usr/local/share/autojump/autojump.fish ];
source /opt/homebrew/share/autojump/autojump.fish
if status is-interactive
# Commands to run in interactive sessions can go here
end
Did you try commenting out source /opt/homebrew/share/autojump/autojump.fish
? And if not, could you?
I'll try right now and update you
nope, commented, saved, opened another session and the result is always the same.
What terminal are you using? Do you also happen to have any Fish scripts running in the background?
I use iTerm2 3.4.13 (OS 10.14+)
, regarding the background running script the output of the ps
command is the following:
@ ps -A | grep fish
36470 ttys001 0:00.03 fish (figterm)
36473 ttys002 0:00.12 /opt/homebrew/Cellar/fish/3.3.1/bin/fish --login
36543 ttys002 0:00.00 grep --color=auto fish
Might it be fig? I am also running fig.
No, tried to kill fig and install it again but the problem is present even if fig isnβt running On 29 Nov 2021, 15:50 +0100, Will Rogers @.***>, wrote:
Might it be fig? I am also running fig. β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Could you try again on macOS Terminal?
Tried right now, always the same, locked on:
@ curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install version 4.3.0
Fetching https://codeload.github.com/jorgebucaran/fisher/tar.gz/HEAD
Sorry, I'm out of ideas.
Ahahah mee too. Do you want that I close the issue or we leave it open until someone will (maybe) realise how to fix it? On 29 Nov 2021, 18:34 +0100, Jorge Bucaran @.***>, wrote:
Sorry, I'm out of ideas. β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Let's leave it open then! π
I just uninstalled fig and then fisher works as expected.
What is Fig?
In order to use Fig with Fish, do you need to add anything to your config.fish
or anywhere else?
I reinstalled Fig. It does not seem to have modified my Fish configuration files in my home directory.
fisher update
is blocking again.
I will uninstall Fig again, I don't seem to get much benefit from it.
I'll give Fig a try and see if I can find out what's going on.
I am having the same problem, curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
just hanged there
Are you using Fig too?
Are you using Fig too?
No, I just installed Fish shell
Can you reproduce the issue inside a container?
Try to launch in local the instructions that I have written up they contain the source of the Docker image and how to launch it to verify if the installer works well
So I just ran into this as well. Installed fig a few days ago. First noticed issues with fish in the VSCode terminal after installing fig, a newly opened terminal would not have a clean prompt. Then with fish-spin, the spin "sleep 1"
command would give me an infinite spinner with a hanging process in the background. Then with fisher update
which would silently hang.
Uninstalled fig after seeing @willrogers's comment and everything works again :)
I tried again and now the script works, maybe a fix has been developed
It seems like this has been fixed upstream! π
After entering in my fish shell the following command:
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
the installation script stays locked after displaying the following:It isn't a problem of connection or proxy because launching:
wget https://codeload.github.com/jorgebucaran/fisher/tar.gz/HEAD
the file is correctly downloaded on my machine.