I made fish function in ~/.config/fish/functions/confgit.fish
:
function confgit
/home/john/Projects/confgit $argv
end
But when I run this function it just says:
fish: The file “/home/john/Projects/./confgit” is not executable by this user
/home/john/Projects/./confgit $argv
^
in function 'confgit'
The config file is normal python script. If I run it by ./confgit
it runs fine.
There are the permissions of the script:
-rwxr-xr-x 1 john john 5.8K 29. nov 02.04 confgit*
How can I fix this so I can use this function ?
Thank you for help
john
run this function or is it run by a service?confgit
script from anywhere. So this command will be exclusively run in terminal by me(userjohn
)./home/john/Projects/confgit
?