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

Command history | awk '$2 == "git" {print $1 " " $3}' gets me a node "--no-pager" #5

Open
hartwork opened this issue Aug 11, 2019 · 0 comments

Comments

@hartwork
Copy link

Cool project!

I need --no-pager for some commands some time — e.g. git --no-pager branch --remotes --merged github-readwrite/master — and recommendation history | awk '$2 == "git" {print $1 " " $3}' > history.txt got me a node --no-pager in the graph, as a result.

So I used history | sed 's,--no-pager ,,' | awk '$2 == "git" {print $1 " " $3}' for a second iteration, instead. Maybe it's worth extending the recommend extraction command like that. What do you think?

Best, Sebastian

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

1 participant