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

builtin history delete should support same search options as the function #3843

Open
Selora opened this issue Feb 12, 2017 · 1 comment
Open

Comments

@Selora
Copy link

Selora commented Feb 12, 2017

**fish version installed **:
fish, version 2.5.0

Currently, the only way to remove history entries non interactively is with an exact match. It would be nice to add a --force to flush all entries with the 'prefix' or 'contains' flag.

@krader1961 krader1961 added this to the fish-future milestone Feb 12, 2017
@krader1961
Copy link
Contributor

What we actually want to do is augment the builtin so that you can pass a non-exact match. That is, it should differ from the function only in that the function will ask for confirmation. The history function should continue to require the user to review the matches and enter all or the IDs of the items to be deleted. We do not want a --force flag.

I thought we had an open issue to do that but can't find it so we'll use this to track making that change. Feel free to take a stab at enhancing the history delete builtin.

@krader1961 krader1961 changed the title Add a "force-delete" to history --delete builtin history delete should support same search options as the function Feb 12, 2017
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

2 participants