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

is there a way to clear history? #179

Closed
rabbah opened this issue Jan 10, 2019 · 4 comments · Fixed by #184
Closed

is there a way to clear history? #179

rabbah opened this issue Jan 10, 2019 · 4 comments · Fixed by #184
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@rabbah
Copy link

rabbah commented Jan 10, 2019

the history command doesn't have a way to clear itself (eg history -c)

> history -h
List current history, optionally filtering by a given string.

Examples:
   history              list the most recent 20 commands
   history <N>          list the most recent N commands
   history <N> <str>    filter the most recent N commands, showing only those that contain the given string
   history <str>        ibid, but using the default of N=20
@starpit
Copy link
Contributor

starpit commented Jan 10, 2019

history purge should work for this. we should change this to be history -c as you have suggested!

starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
@starpit
Copy link
Contributor

starpit commented Jan 10, 2019

fixing; also adding a real usage model for the history command. i will remove the history purge command in favor of history -c

@starpit starpit self-assigned this Jan 10, 2019
@starpit starpit added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 10, 2019
@rabbah
Copy link
Author

rabbah commented Jan 10, 2019

Thx. Would be useful to have in the help. Happy to send a Pr.

starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
@starpit
Copy link
Contributor

starpit commented Jan 10, 2019

should be done with #184

image

starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
starpit added a commit to starpit/kui that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes kubernetes-sigs#179
starpit added a commit that referenced this issue Jan 10, 2019
also implement a real usage model for the history command

Fixes #179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants