Skip to content
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

Allow passing the command line as a command line argument to pipeline #14

Open
Aster89 opened this issue Oct 15, 2020 · 1 comment
Open

Comments

@Aster89
Copy link

Aster89 commented Oct 15, 2020

Since pipeline has no history (and that's, I think, intended/good/desired/good/verygood), sometimes it's a pain I have to reselect some text from the terminal just to put it in another session of pipeline.

Passing the command line to pipeline would be handy. Running pipeline on a command which is not doing what we want would be almost as easy as enclosing it in single quotes and prepending pipeline.

And it would have the advantage that that command is saved in the shell history (sure, if I modify the command once in pipeline, then there's no history for that).

Well, maybe another "sibling" improvement would be a key binding to exit pipeline and populate the command line with the last edited line.

Just some ideas. :)

@codekitchen
Copy link
Owner

👍 I started implementing the option to pass the initial command line in, but ran into some issues I can't recall, and never finished it. I'd like to get that in.

I don't think it's possible to exit and populate the command line, I could be wrong but pretty sure there's no general way to do that. Maybe specific terminals or shells support something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants