[fzf] is ctrl-r on steroids.
[fzf]: https://github.com/junegunn/fzf
It's a fuzzy pattern matcher for your shell history (and lots more).
101–110 of 148 posts
[fzf] is ctrl-r on steroids.
[fzf]: https://github.com/junegunn/fzf
It's a fuzzy pattern matcher for your shell history (and lots more).
I've found this tool to be super-helpful: https://github.com/dvorka/hstr It's like ctrl-r, but it shows you many candidates at once.
This guy is the inverse of me, because I have linked my .bash_history to /dev/null
I assume you have the in-memory history enabled, but still
Earlier quoted context omitted.
You owe the GNU coreutils project $392 https://github.com/diafygi/gnu-pricing
What leads you to believe OP doesn't use FreeBSD or any other Unixalike? :)
$ which ls
/usr/local/opt/coreutils/libexec/gnubin/ls
I'd say $392 seems like less than I should contribute.I was impressed that Stephen Wolfram has been recording his own keystrokes since 2002: http://blog.stephenwolfram.com/2012/03/the-personal-analytic...
If you're going to store a lot of history, you might want something nicer than the standard ctrl-r to search it with. [fzf] is ctrl-r on steroids. [fzf]: https://github.com/junegunn/fzf It's a fuzzy pattern matcher for your shell history (and lots more).
I started using Homemaker recently https://github.com/FooSoft/homemaker which is a very clean/lightweight replacement for GNU Stow, Homesick, and other dotfile managers. The Go versions of these utilities are always simple and single-purpose.
Modern developers are returning to building Unix style systems programs. Time is being spent on that instead of the usual bulky python scripts that have been popular recently or the million personal-productivity web apps people were creating.
Earlier quoted context omitted.
You could really do some interesting stuff with this. Automatically recommend aliases and show how many keystrokes you would have saved for example.
Stuff like swiftkey automatically recommends next words, it might not be that difficult to have a similar system for a shell. Sounds like a fun idea actually. Oh, relevant XKCD. https://xkcd.com/1068/
If avoiding them is really important, I don't think you have any choice other than to go the whole hog and basically implement half of Maildir.
$ history | wc -l 56201 I use a simple prompt_command hook to push my history (from all my machines) to a central MySQL database( https://github.com/fredsmith/history-db ). Entries are de-duped and a tally is kept so I can do simple ad-hoc reporting: mysql> select * from history order by count DESC limit 10; +-------+---------------------+-----------+----------+-------+ | id | timestamp | command | hostname | count |…
I'd be quite interested in someone provided this sort of thing as a SaaS-like drop-in to Bash and Zsh if someone wants a fun weekend project..