Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow running up with no input #50

Closed
NightMachinery opened this issue May 21, 2020 · 3 comments
Closed

Allow running up with no input #50

NightMachinery opened this issue May 21, 2020 · 3 comments

Comments

@NightMachinery
Copy link

I like to run up to just run grep searches interactively (using ripgrep on the current directory).

@akavel
Copy link
Owner

akavel commented May 21, 2020

I saw this sentiment expressed also in #33; can you please help me understand if there are reasons why e.g. something like echo | up is not working for you? (Or maybe even just :|up?) What holds me back on this feature is basically that I'm having concerns about discoverability of the app's core feature being impacted...

@NightMachinery
Copy link
Author

@akavel Because up passes the dummy input to the command, and a lot of commands (including grep) will change their behavior if stdin is present. I don't think discoverability will be affected; If anything, the current marketing seems confusing to me. up is essentially a new mode of using a REPL. I think the best summary of what up is, is up makes your commands sticky in any REPL. Anyhow, adding an option for running with no input, if not advertised upfront, definitely won't change people's first impression of the tool.

@diego898
Copy link

diego898 commented Jun 5, 2020

Would this not be the exact usecase for FZF?

@akavel akavel closed this as completed in 94ad570 Oct 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants