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

Piping into howl #532

Open
Janfel opened this issue Sep 24, 2019 · 2 comments
Open

Piping into howl #532

Janfel opened this issue Sep 24, 2019 · 2 comments

Comments

@Janfel
Copy link
Contributor

Janfel commented Sep 24, 2019

It would be nice if one could pipe text into a Howl buffer like this:

echo "foo" | howl
echo "foo" | howl --reuse

This should open a new window with a single buffer titled "<STDIN>" or similar containing the text "foo". When using the flag --reuse, the buffer should open in an existing window.

@refi64
Copy link
Contributor

refi64 commented Sep 25, 2019

howl <(echo "foo") might work, though you have to copy/paste it into another buffer.

Personally, I just pipe into xclip/xsel and paste it into Howl.

@Janfel
Copy link
Contributor Author

Janfel commented Sep 26, 2019

howl <(echo "foo") doesn't work with bash/zsh. howl =(echo "foo") (zsh) works, but only because the shell creates a temporary file. Piping into xclip and pasting feels awkward, because i. a. Howl automatically restores a previous session when called without files, with no way of disabling this behaviour.

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

No branches or pull requests

3 participants