I'm struggling to add /usr/local/bin
to my PATH so I can use geckodriver, which is located in /usr/local/bin/geckodriver
. I tried the to add the following to my config.fish
set -U fish_user_paths /usr/local/bin
and also
set -gx PATH $PATH /usr/local/bin
both approaches don't seem to work. When I try to use geckodriver after restarting fish I get the error
Command 'geckodriver' is available in '/usr/local/bin/geckodriver'
geckodriver: command not found
which is weird because it seems to find it but can't execute it. Any solutions?
Thanks in advance
source
it again?fish_user_path
. It tends to cause more problems than it solves. Stick with theset -gx PATH
solution. Second, theCommand 'geckodriver' is available
is not from fish. It's presumably coming from thegeckodriver
command because you are missing some other prereq of that command. You can confirm that fish is finding the right program by typingtype geckodriver
.geckodriver
again and putting it in/usr/local/bin
it works now. Your comment on missing some prereq pointed me to the solution though. So thanks!