-
Notifications
You must be signed in to change notification settings - Fork 19
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
pipe and redirections conflict in Mac OS X #17
Comments
…ith fish pipe and redirection issue fishgretel/fasd#17
I'm experiencing the same issue on Arch Linux. I'm new to fish and observed the following: $ echo test > /tmp/test
$ cat /tmp/test
echo test While this worked fine: $ echo test > /tmp/test && cat /tmp/test
test After figuring out, that that's probably not the expected behaviour I managed to boil it down to |
open to accept your PR. |
Say the user runs:
__fasd_run.fish does this:
argv contains the command line text as a single item, so this expands to:
which then runs this:
which executes the redirection. The culprit is the |
@ridiculousfish thanks! must admit i don't know. i took over the maintainership quite some time ago - still using it lots but it's working fine for my use-case.. so i'm not sure on how to proceed. |
Looks like it was added in 9388a6a. If the commit isn't lying the Looks like he's splitting the input into lines by spaces before feeding it into I guess the best move forward would be to test the usecases we know of and see if anything breaks. It would be smarter to do some research on how |
It also looks like #19 would fix this for us! |
The function in
conf.d/__fasd_run.fish
break the pipe and redirectionsReproduction steps
Unexpected behavior
Expected behavior
Infos
The text was updated successfully, but these errors were encountered: