You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fish version: 2.5.0
Ubuntu 16.04 Linux limebox 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Hello, I can't seem to be able to run fish scripts, when I create an executable file echo "echo test" > script.fish, running fish ./script.fish results in an error message: ./script.fish: No such file or directory.
It works fine with sh -c 'env HOME=$(mktemp -d) fish', for some reason.
Right, your source.fish ends with cd ~. That's generally a bad idea. A login shell should already have PWD set to your home directory. And if you're starting any other fish instance you do not want to change the PWD. If you feel there is some good reason to do that you should limit it to interactive shells:
fish version: 2.5.0
Ubuntu 16.04
Linux limebox 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Hello, I can't seem to be able to run fish scripts, when I create an executable file
echo "echo test" > script.fish
, runningfish ./script.fish
results in an error message:./script.fish: No such file or directory
.It works fine with
sh -c 'env HOME=$(mktemp -d) fish'
, for some reason.Link to
~/.dotfiles/bin/source.fish
: https://gitlab.com/Limeth/dotfiles/blob/master/bin/source.fishAny tips on what I should be looking for are appreciated.
The text was updated successfully, but these errors were encountered: