-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not work with fish shell #2
Comments
Yeah I'm trying to get this working on fish too. I'm afraid it won't work :( Since all the prm scripts are ran from bash, as soon as this exits and you're back in fish, all the cd-ing and whatnot you did won't matter, as it was in a different shell. I might port this to fish someday, but it'll have to be a different implementation with fish functions (unless someone as a better idea, I'm far from being an expert at fish scripting). EDIT: Fyi 'sourcing' the prm script inside fish won't work as it's written for bash. |
@FredDeschenes alright, keep me updated here if you ever develop a fish port :) |
@FredDeschenes is completely right. As I don't have much experience with fish, I don't know the details of the compatibility-issues between it and bash. However (and I'm just spitballing here): |
@eivind88 Well compatibility-wise, fish just cannot source bash scripts, their scripts being so different. function prm
bash /path/to/prm $argv
end but this runs the script in a different shell, so it's basically a noop. Also, since the scripts are sourced inside bash, they have to be bash scripts themselves, so we can't use any fish functionality with them. |
I was thinking more in the vein of (something like) So it indeed appears that prm won't work with fish shell unless it is explicitly ported. |
Shameless plug, but I've mostly ported prm for fish here. Report any issues you might have (or create pull requests for the couple of missing features :P)! |
Great job! |
Mention pull request etiquette in readme Add link to FredDeschenes' fish port in readme (addresses issue #2)
I added the alias as instructed, when running
prm
, I get the following error:The text was updated successfully, but these errors were encountered: